https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=594
{"orders":[{"acceptance_decision_date":"2020-08-03T18:36:18Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"85620024","created_date":"2020-08-03T18:33:29Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"ANTOFAGASTA","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Pedro","lastname":"Torres Araya","phone":"2678646","state":"II REGION","street_1":"Cerro Paranal 270 Edificio Puyehue 270 ","street_2":"Depto.84","zip_code":" "},"civility":null,"customer_id":"156785407","firstname":"pedro","lastname":"torres araya","locale":null,"shipping_address":{"additional_info":"","city":"ANTOFAGASTA","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Pedro","lastname":"Torres Araya","phone":"2678646","state":"II REGION","street_1":"Cerro Paranal 270 Edificio Puyehue 270 ","street_2":"Depto.84","zip_code":" "}},"customer_debited_date":"2020-08-03T18:50:49.032Z","customer_directly_pays_seller":false,"delivery_date":null,"fulfillment":{"center":{"code":"DEFAULT"}},"fully_refunded":true,"has_customer_message":false,"has_incident":false,"has_invoice":false,"last_updated_date":"2020-11-13T14:30:55Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"promo","type":"TEXTAREA","value":"-DESPACHO4990_PAQUETERIA_2020_07-10766073:-5000.0"}],"order_id":"85620024-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD202-M","category_label":"Joyas","commission_fee":4778,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2020-08-03T18:33:29Z","debited_date":"2020-08-03T18:50:49Z","description":null,"fees":[],"last_updated_date":"2020-11-13T14:30:55Z","offer_id":915229,"offer_sku":"B07X2FQBH9","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"157432150","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":26547,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":26547,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":26547,"product_medias":[{"media_url":"\/media\/product\/image\/04f480d2-09d7-4bfe-bded-5ec10b39ab6c","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/76d46d77-1377-4c32-8f28-bf71bbd4820f","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/825e2bc2-b827-4833-98cc-4587f09bb536","mime_type":"JPG","type":"LARGE"}],"product_shop_sku":"B07X2FQBH9","product_sku":"MPM00010253598-1","product_title":"CARSHIER FENG SHUI PULSERA DE BUENA SUERTE PARA HOMBRES","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":26547,"amount_breakdown":{"parts":[{"amount":26547,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":4778,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":4778,"created_date":"2020-11-13T14:12:11Z","fees":[],"id":"90101","order_refund_id":"33cda15c-ed3b-4867-a9b7-593ad14e1503","quantity":1,"reason_code":"49","refund_state":"REFUNDED","shipping_amount":9990,"shipping_amount_breakdown":{"parts":[{"amount":9990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":"2020-10-14T16:27:58Z","shipping_price":9990,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":9990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":4778,"total_price":36537}],"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":26547,"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-08-08T18:48:00.699Z","shipping_price":9990,"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":"2","shipping_zone_label":"Antofagasta","total_commission":4778,"total_price":36537}],"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