https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=2104
{"orders":[{"acceptance_decision_date":"2021-04-01T03:39:51Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"113309861","created_date":"2021-04-01T03:35:14Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"PUENTE ALTO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Andres","lastname":"Ortega","phone_secondary":"84669866","state":"REG.METROPOLITANA","street_1":"El Altar 139","street_2":"139","zip_code":" "},"civility":null,"customer_id":"197410280","firstname":"Andres","lastname":"Ortega","locale":null,"shipping_address":{"additional_info":"","city":"PUENTE ALTO","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"Andres","lastname":"Ortega","phone_secondary":"84669866","state":"REG.METROPOLITANA","street_1":"El Altar 139","street_2":"139","zip_code":" "}},"customer_debited_date":"2021-04-01T03:54:39.824Z","customer_directly_pays_seller":false,"customer_notification_email":"rlrkmq9z7to.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-05-25T15:57:11Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"rut","type":"STRING","value":"197410280"}],"order_id":"113309861-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD347-A","category_label":"Aud\u00edfonos","commission_fee":2922,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2021-04-01T03:35:14Z","debited_date":"2021-04-01T03:54:39Z","description":null,"fees":[],"last_updated_date":"2021-05-25T15:57:11Z","offer_id":1101516,"offer_sku":"B07Q9LW32M","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"223714702","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":36519,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":36519,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":36519,"product_medias":[{"media_url":"\/media\/product\/image\/2ec3f485-2ae7-4a74-9985-fb5d8c4acde5","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/8db944a3-159b-4568-9c73-3cb098c3d19c","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/b4475371-4b22-425a-ad47-da28bfae24f6","mime_type":"JPG","type":"MEDIUM"}],"product_shop_sku":"B07Q9LW32M","product_sku":"MPM00010399998-1","product_title":"KZ ZSN PRO DYNAMIC HYBRID DUAL DRIVER IN EAR EARPHONES - AURICULARES IN-EAR CON CABLE DESMONTABLES Y SIN ENREDOS PARA M\u00daSICOS","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":36519,"amount_breakdown":{"parts":[{"amount":36519,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":2922,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":2922,"created_date":"2021-05-25T15:36:56Z","fees":[],"id":"164126","order_refund_id":"3c9955c5-24de-4bd4-b308-45f14e4ea884","quantity":1,"reason_code":"REFUND_SEL01","refund_state":"REFUNDED","shipping_amount":3990,"shipping_amount_breakdown":{"parts":[{"amount":3990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":"2021-05-11T20:12:26Z","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":2922,"total_price":40509}],"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":36519,"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-06T03:50:03.275Z","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":2922,"total_price":40509}],"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