document.write("
{ "id":1001, "pay_id":0, "batch_id":0, "status":0, "pay_status":0, "stk_status":0, "dt_instock":0, "orderdate":1588976246, "cust_id":0, "ship_res":false, "ship_fname":"Brennan", "ship_lname":"Heyde", "ship_email":"bheyde@miva.com", "ship_comp":"Celigo", "ship_phone":"8587314220", "ship_fax":"", "ship_addr1":"16745 Bernardo Dr", "ship_addr2":"Fourth Floor", "ship_city":"San Diego", "ship_state":"CA", "ship_zip":"92127", "ship_cntry":"US", "bill_fname":"Brennan", "bill_lname":"Heyde", "bill_email":"bheyde@miva.com", "bill_comp":"Celigo", "bill_phone":"8587314220", "bill_fax":"", "bill_addr1":"16745 Bernardo Dr", "bill_addr2":"Fourth Floor", "bill_city":"San Diego", "bill_state":"CA", "bill_zip":"92127", "bill_cntry":"US", "ship_id":138, "ship_data":"Free Shipping", "ship_method":"Free Shipping", "cust_login":"", "cust_pw_email":"", "business_title":"", "payment_module":"None", "source":"shopper", "source_id":0, "total":10.00, "formatted_total":"$10.00", "total_ship":0.00, "formatted_total_ship":"$0.00", "total_tax":0.00, "formatted_total_tax":"$0.00", "total_auth":0.00, "formatted_total_auth":"$0.00", "total_capt":0.00, "formatted_total_capt":"$0.00", "total_rfnd":0.00, "formatted_total_rfnd":"$0.00", "net_capt":0.00, "formatted_net_capt":"$0.00", "pend_count":1, "bord_count":0, "note_count":1, "items":[ { "order_id":1001, "line_id":2, "status":0, "subscrp_id":0, "subterm_id":0, "rma_id":0, "dt_instock":0, "code":"sample", "name":"Sample", "sku":"", "retail":10.00, "base_price":10.00, "price":10.00, "weight":0.00, "taxable":true, "upsold":false, "quantity":1, "total":10.00 } ], "charges":[ ], "coupons":[ ], "discounts":[ ], "payments":[ { "id":3, "order_id":1001, "type":1, "refnum":"1001", "amount":10.00, "formatted_amount":"$10.00", "available":10.00, "formatted_available":"$10.00", "dtstamp":1588976246, "expires":0, "pay_id":118, "pay_secid":0, "decrypt_status":"not_encrypted", "description":"Check", "module":{ "id":118, "code":"check", "name":"Check Payment", "provider":"Miva Merchant", "api_ver":"5.00", "version":"9.0001", "module":"modules\\/payment\\/check.mvc", "refcount":1, "active":true }, "data":{ "check":"12345" } } ], "notes":[ { "id":1, "cust_id":0, "account_id":0, "order_id":1001, "user_id":0, "notetext":"Automated Workflow: Order moved to queue \\"New \\u0026 Updated Orders\\".", "dtstamp":1588976246, "cust_login":"", "business_title":"", "admin_user":"" } ], "CustomField_Values":{ "customfields":{ "order_instructions":"", "order_ip":"", "order_ua":"" }, "orderworkflow":{ "new_and_updated":"1", "successfully_retrieved_orders":"" } } }