https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=1540
{"orders":[{"acceptance_decision_date":"2020-12-17T17:36:29Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"104630667","created_date":"2020-12-17T17:27:54Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"PUENTE ALTO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"rolando","lastname":"martinez gonzalez","phone_secondary":"53655546","state":"REG.METROPOLITANA","street_1":"Avenida Domingo Tocornal 0641 hacia la cordillera entre Ignacio Domeyko con calle palestrina 0641","street_2":"Depto.casa","zip_code":" "},"civility":null,"customer_id":"96746040","firstname":"Rolando","lastname":"Martinez Gonzalez","locale":null,"shipping_address":{"additional_info":"","city":"PUENTE ALTO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"rolando","lastname":"martinez gonzalez","phone_secondary":"53655546","state":"REG.METROPOLITANA","street_1":"Avenida Domingo Tocornal 0641 hacia la cordillera entre Ignacio Domeyko con calle palestrina 0641","street_2":"Depto.casa","zip_code":" "}},"customer_debited_date":"2020-12-17T17:52:51.441Z","customer_directly_pays_seller":false,"customer_notification_email":"rg0n8cqybso.olbqcuuqi@us.notification.mirakl.net","delivery_date":null,"fulfillment":{"center":{"code":"DEFAULT"}},"fully_refunded":false,"has_customer_message":true,"has_incident":false,"has_invoice":false,"last_updated_date":"2021-05-20T20:01:07Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"rut","type":"STRING","value":"96746040"}],"order_id":"104630667-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD347-A","category_label":"Aud\u00edfonos","commission_fee":2503,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2020-12-17T17:27:54Z","debited_date":"2020-12-17T17:52:51Z","description":null,"fees":[],"last_updated_date":"2021-05-20T20:01:07Z","offer_id":609584,"offer_sku":"B07P7FN3LY","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"203531179","order_line_index":1,"order_line_state":"CLOSED","order_line_state_reason_code":"AUTO_CLOSED","order_line_state_reason_label":"Cerrado autom\u00e1ticamente","price":31285,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":31285,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":31285,"product_medias":[{"media_url":"\/media\/product\/image\/47881160-6683-4061-b20e-0dbb6e573af3","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/85ed92cf-d849-4e95-a656-4181d8b01b11","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/bace9a83-361b-4c1d-abab-42a531601fd6","mime_type":"JPG","type":"MEDIUM"}],"product_shop_sku":"B07P7FN3LY","product_sku":"MPM00010027389-1","product_title":"SIMGOT MTB2 Auriculares inal\u00e1mbricos magn\u00e9ticos deportivos con micr\u00f3fono, impermeables","promotions":[],"quantity":1,"received_date":"2021-01-20T18:53:25Z","refunds":[],"shipped_date":null,"shipping_price":3990,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":3990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":2503,"total_price":35275}],"order_refunds":null,"order_state":"CLOSED","order_state_reason_code":"AUTO_CLOSED","order_state_reason_label":"Cerrado autom\u00e1ticamente","order_tax_mode":"TAX_EXCLUDED","order_taxes":null,"paymentType":"TCGATEWAY_RIPLEY_INST","payment_type":"TCGATEWAY_RIPLEY_INST","payment_workflow":"PAY_ON_ACCEPTANCE","price":31285,"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-22T17:44:16.396Z","shipping_price":3990,"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":"13112","shipping_zone_label":"Santiago","total_commission":2503,"total_price":35275}],"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