When Notify Server? is checked, Cartloom will POST the order information as a JSON encoded string to the URL specified under Notify URL.
Below you will find an example of the information sent...
order = { "oid": "0000123456", "invoice": "000004321", "unique_id": "p8lueCLf", "on_hold": "0", "date": "2013-02-0904:30:25", "ip_address": "1.2.3.4", "payment_type": "Credit Card", "trans_id": "ch_1G6AeqkbrrtTYg", "subtotal": "19.95", "processing_fee": "0", "grandtotal": "19.95", "refunded": "0", "refund_amount": "", "shipping_amount": "0", "shipping_title": "", "shipping_status": "0", "shipping_date": "0000-00-00 00:00:00", "shipping_tracking_number": "", "tax_amount": "0", "tax_title": "", "discount_code": "", "discount_amount": "0.00", "discount_title": "", "billing_first_name": "Barry", "billing_last_name": "Cook", "billing_company": null, "billing_email": "customer@example.com", "billing_phone": "", "billing_address1": "123 Your Street", "billing_address2": "", "billing_city": "Some City", "billing_state": "GA", "billing_postal_code": "30120", "billing_country": "US", "shipping_first_name": "", "shipping_last_name": "", "shipping_company": "", "shipping_address1": "", "shipping_address2": "", "shipping_city": "", "shipping_state": "", "shipping_postal_code": "", "shipping_country": "", "comments": "", "notes": "", "extra_inputs": [ ], "card_number": "1111", "card_type": "MasterCard", "vat_number": null, "items": [ { "pid": "000001234", "item_id": "0001234567", "qty": "1", "title": "Widget1", "sku": "WDGT001", "send_link": "0", "category": "plugin", "options": "", "digital": "1", "file_url": "", "price": "19.95", "serial_nums": "1234-5678-ABCD", "dl_cnt": "0", "dl_max": "0", "dl_unlimited": "0", "did": "", "part_of_bundle": "0", "bundle_id": "0000000000", "bundle_name": "" }, { "pid": "000004567", "item_id": "0001234545", "qty": "1", "title": "Widget2", "sku": "WDGT002", "send_link": "0", "category": "plugin", "options": "", "digital": "1", "file_url": "", "price": "19.95", "serial_nums": "1234-5678-EFGH", "dl_cnt": "0", "dl_max": "0", "dl_unlimited": "0", "did": "", "part_of_bundle": "0", "bundle_id": "0000000000", "bundle_name": "" } ], "subscribed": 1 }
Comments
0 comments
Article is closed for comments.