https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=3147
{"orders":[{"acceptance_decision_date":"2021-09-02T16:14:45Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"138431767","created_date":"2021-09-02T16:08:39Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"PUDAHUEL","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"marcela elena","lastname":"rojas rojas","phone_secondary":"87746886","state":"REG.METROPOLITANA","street_1":"Las Camelias 19923","street_2":"19923","zip_code":" "},"civility":null,"customer_id":"90978322","firstname":"Marcela","lastname":"Rojas Rojas","locale":null,"shipping_address":{"additional_info":"","city":"PUDAHUEL","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"marcela elena","lastname":"rojas rojas","phone_secondary":"87746886","state":"REG.METROPOLITANA","street_1":"Las Camelias 19923","street_2":"19923","zip_code":" "}},"customer_debited_date":"2021-09-02T16:29:59.946Z","customer_directly_pays_seller":false,"customer_notification_email":"rfwxoaaga2r.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-09-20T21:42:50Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"rut","type":"STRING","value":"90978322"}],"order_id":"138431767-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD359-AB","category_label":"Sillas de Escritorio","commission_fee":19383,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2021-09-02T16:08:39Z","debited_date":"2021-09-02T16:29:59Z","description":null,"fees":[],"last_updated_date":"2021-09-20T21:42:50Z","offer_id":2284687,"offer_sku":"B08LYHHGLD","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"274828279","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":107682,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":107682,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":107682,"product_medias":[{"media_url":"\/media\/product\/image\/36037186-6436-4c98-b078-4ee8a425a2ff","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/42f6b7b6-ae9b-413d-8dd1-1a973ff8cd90","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/c0dc0c14-9070-456a-b55a-de5578a44a20","mime_type":"JPG","type":"SMALL"}],"product_shop_sku":"B08LYHHGLD","product_sku":"MPM00028015936-1","product_title":"SILLA DE OFICINA SOPORTE LUMBAR APOYABRAZOS GIRATORIO | Naranjo","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":107682,"amount_breakdown":{"parts":[{"amount":107682,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":19383,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":19383,"created_date":"2021-09-03T06:22:33Z","fees":[],"id":"210138","order_refund_id":"b3450497-48ae-42b7-b3a2-41d71efc0c4e","quantity":1,"reason_code":"REFUND_SEL01","refund_state":"REFUNDED","shipping_amount":0,"shipping_amount_breakdown":{"parts":[{"amount":0,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]},{"amount":0,"amount_breakdown":{"parts":[{"amount":0,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":0,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":0,"created_date":"2021-09-20T20:59:24Z","fees":[],"id":"214258","order_refund_id":"3aec0341-a3d5-4421-ab2c-0f1040836ec6","quantity":0,"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":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":19383,"total_price":111672}],"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":107682,"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-09-07T16:23:53.686Z","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":19383,"total_price":111672}],"total_count":5265}
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