https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=2131
{"orders":[{"acceptance_decision_date":"2021-04-05T03:10:31Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"113567934","created_date":"2021-04-05T03:03:18Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"VILLARICA","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Elizabeth","lastname":"Fernandez","phone_secondary":"79625215","state":"IX REGION","street_1":"Volc\u00e1n Puyehue 1090","street_2":"1090","zip_code":" "},"civility":null,"customer_id":"128182438","firstname":"Elizabeth","lastname":"Fernandez","locale":null,"shipping_address":{"additional_info":"","city":"VILLARICA","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Elizabeth","lastname":"Fernandez","phone_secondary":"79625215","state":"IX REGION","street_1":"Volc\u00e1n Puyehue 1090","street_2":"1090","zip_code":" "}},"customer_debited_date":"2021-04-05T03:18:18.763Z","customer_directly_pays_seller":false,"customer_notification_email":"rbozm4lb8fo.olbqcuuqi@us.notification.mirakl.net","delivery_date":null,"fulfillment":{"center":{"code":"DEFAULT"}},"fully_refunded":true,"has_customer_message":false,"has_incident":false,"has_invoice":false,"last_updated_date":"2021-06-08T04:40:13Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"rut","type":"STRING","value":"128182438"}],"order_id":"113567934-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD347-A","category_label":"Aud\u00edfonos","commission_fee":1712,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2021-04-05T03:03:18Z","debited_date":"2021-04-05T03:18:18Z","description":null,"fees":[],"last_updated_date":"2021-06-08T04:40:13Z","offer_id":607171,"offer_sku":"B07QTH1TDW","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"224563573","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":21404,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":21404,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":21404,"product_medias":[{"media_url":"\/media\/product\/image\/646dae13-a758-4db4-8276-f24fbfa22c10","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/82c12ec1-01c8-42bb-89cf-2190d2290195","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/fc456345-6e22-4414-948c-bd6d264da1a4","mime_type":"JPG","type":"LARGE"}],"product_shop_sku":"B07QTH1TDW","product_sku":"MPM00010027284-1","product_title":"SANKTON U1 TWS Bluetooth 5.0 Auriculares [True Wireless Stereo] Auriculares","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":21404,"amount_breakdown":{"parts":[{"amount":21404,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":1712,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":1712,"created_date":"2021-06-02T12:47:08Z","fees":[],"id":"167765","order_refund_id":"72281952-99c1-4ea1-994f-4d49103684ac","quantity":1,"reason_code":"REFUND_SEL01","refund_state":"REFUNDED","shipping_amount":0,"shipping_amount_breakdown":{"parts":[{"amount":0,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]},{"amount":0,"amount_breakdown":{"parts":[{"amount":0,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":0,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":0,"created_date":"2021-06-03T15:37:20Z","fees":[],"id":"168946","order_refund_id":"934ae295-445a-4751-9dcd-b3bee46c16d4","quantity":0,"reason_code":"REFUND_SEL01","refund_state":"REFUNDED","shipping_amount":8990,"shipping_amount_breakdown":{"parts":[{"amount":8990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":null,"shipping_price":8990,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":8990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":1712,"total_price":30394}],"order_refunds":null,"order_state":"CLOSED","order_state_reason_code":"REFUNDED","order_state_reason_label":"Reembolsado","order_tax_mode":"TAX_EXCLUDED","order_taxes":null,"paymentType":"TCGATEWAY_RIPLEY_INST","payment_type":"TCGATEWAY_RIPLEY_INST","payment_workflow":"PAY_ON_ACCEPTANCE","price":21404,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":null,"shipping_carrier_standard_code":null,"shipping_company":null,"shipping_deadline":"2021-04-10T03:11:05.810Z","shipping_price":8990,"shipping_pudo_id":null,"shipping_tracking":null,"shipping_tracking_url":null,"shipping_type_code":"TomTop","shipping_type_label":"Recibe entre 15 a 20 d\u00edas","shipping_type_standard_code":null,"shipping_zone_code":"10","shipping_zone_label":"Valdivia \/Temuco\/ Pto Montt 2","total_commission":1712,"total_price":30394}],"total_count":5195}
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Orders.php
Line Number: 544
Backtrace:
File: /var/www/html/marketplace/application/controllers/Orders.php
Line: 544
Function: _error_handler
File: /var/www/html/marketplace/application/controllers/Orders.php
Line: 77
Function: getOrderGlobalShopex2
File: /var/www/html/marketplace/index.php
Line: 315
Function: require_once