https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=1613
{"orders":[{"acceptance_decision_date":"2020-12-28T18:36:50Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"105729342","created_date":"2020-12-28T18:26:05Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"VALPARAISO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Rodrigo","lastname":"Lahoz","phone_secondary":"34110721","state":"V REGION","street_1":"Cabriter\u00eda 56","street_2":"56","zip_code":" "},"civility":null,"customer_id":"9561681K","firstname":"Rodrigo","lastname":"Lahoz","locale":null,"shipping_address":{"additional_info":"","city":"VALPARAISO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Rodrigo","lastname":"Lahoz","phone_secondary":"34110721","state":"V REGION","street_1":"Cabriter\u00eda 56","street_2":"56","zip_code":" "}},"customer_debited_date":"2020-12-28T18:41:41.023Z","customer_directly_pays_seller":false,"customer_notification_email":"refm5gufhf8.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-02-17T20:54:09Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"rut","type":"STRING","value":"9561681K"}],"order_id":"105729342-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD500-B","category_label":"L\u00e1pices y Lapiceras","commission_fee":2383,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2020-12-28T18:26:05Z","debited_date":"2020-12-28T18:41:41Z","description":null,"fees":[],"last_updated_date":"2021-02-17T20:54:09Z","offer_id":603852,"offer_sku":"B07RXT72VL","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"206122547","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":15885,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":15885,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":15885,"product_medias":[{"media_url":"\/media\/product\/image\/1df0ea9f-f397-4a9a-8891-2b196716c550","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/92566a9a-7dac-4d04-af71-692054992a62","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/ba456413-87c3-4b05-adff-2231d8a13ed9","mime_type":"JPG","type":"SMALL"}],"product_shop_sku":"B07RXT72VL","product_sku":"MPM00010024324-1","product_title":"Eagle Bol\u00edgrafos de tinta de gel borrables, colores surtidos, paquete de 8, ideal para planificadores y crucigramas","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":15885,"amount_breakdown":{"parts":[{"amount":15885,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":2383,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":2383,"created_date":"2021-02-17T20:36:07Z","fees":[],"id":"134958","order_refund_id":"b7e32c23-a0c2-4ae8-a01d-ff8a1c65586f","quantity":1,"reason_code":"49","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-02-01T11:14:50Z","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":2383,"total_price":20875}],"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":"TARJETA_WEBPAY_INST","payment_type":"TARJETA_WEBPAY_INST","payment_workflow":"PAY_ON_ACCEPTANCE","price":15885,"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-01-02T18:30:55.104Z","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":2383,"total_price":20875}],"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