https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=1570
{"orders":[{"acceptance_decision_date":"2020-12-20T21:21:58Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"105073599","created_date":"2020-12-20T21:16:55Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"SANTO DGO.","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"mariacarmen","lastname":"Moreno prieto","phone":"2442512","phone_secondary":"93254424","state":"V REGION","street_1":"saturno 9","street_2":"9","zip_code":"2720529"},"civility":null,"customer_id":"54707452","firstname":"mariacarmen","lastname":"Moreno prieto","locale":null,"shipping_address":{"additional_info":"","city":"SANTO DGO.","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"mariacarmen","lastname":"Moreno prieto","phone":"2442512","phone_secondary":"93254424","state":"V REGION","street_1":"saturno 9","street_2":"9","zip_code":"2720529"}},"customer_debited_date":"2020-12-20T21:31:40.200Z","customer_directly_pays_seller":false,"customer_notification_email":"rigveq6myr8.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-11-09T13:36:28Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"rut","type":"STRING","value":"54707452"}],"order_id":"105073599-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD366-AB","category_label":"Libros","commission_fee":3732,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2020-12-20T21:16:55Z","debited_date":"2020-12-20T21:31:40Z","description":null,"fees":[],"last_updated_date":"2021-11-09T13:36:28Z","offer_id":751583,"offer_sku":"1982134488","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"204597805","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":24881,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":24881,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":24881,"product_medias":[{"media_url":"\/media\/product\/image\/3bd37de9-501f-4fe2-b6a4-72b98fffbf85","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/5f147588-87e8-4c57-88a5-5e53a1a01593","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/7b696bbf-be1e-4788-87f2-6e045e063325","mime_type":"JPG","type":"SMALL"}],"product_shop_sku":"1982134488","product_sku":"MPM00010147060-1","product_title":"Libro Think Like a Monk: Train Your Mind for Peace and Purpose Every Day","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":24881,"amount_breakdown":{"parts":[{"amount":24881,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":3732,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":3732,"created_date":"2021-11-08T23:00:22Z","fees":[],"id":"231473","order_refund_id":"38d57427-5e22-40f9-8825-65fe535c3ce4","quantity":1,"reason_code":"REFUND_am03","refund_state":"REFUNDED","shipping_amount":4990,"shipping_amount_breakdown":{"parts":[{"amount":4990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":"2021-03-26T14:05:48Z","shipping_price":4990,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":4990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":3732,"total_price":29871}],"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_TARJETA_INST","payment_type":"TCGATEWAY_TARJETA_INST","payment_workflow":"PAY_ON_ACCEPTANCE","price":24881,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":null,"shipping_carrier_standard_code":null,"shipping_company":null,"shipping_deadline":"2020-12-25T21:26:37.637Z","shipping_price":4990,"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":"5","shipping_zone_label":"Valparaiso","total_commission":3732,"total_price":29871}],"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