https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=3507
{"orders":[{"acceptance_decision_date":"2021-11-15T12:46:20Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"145524115","created_date":"2021-11-15T12:44:36Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"PTO.MONTT","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"juan arturo","lastname":"otey soto","phone_secondary":"63253004","state":"X REGION","street_1":"rantal 1638","street_2":"Depto.Bosquemar","zip_code":" "},"civility":null,"customer_id":"152874316","firstname":"Juan Arturo","lastname":"Otey Soto","locale":null,"shipping_address":{"additional_info":"","city":"PTO.MONTT","company":null,"company_2":null,"country":"CL","country_iso_code":null,"firstname":"juan arturo","lastname":"otey soto","phone_secondary":"63253004","state":"X REGION","street_1":"rantal 1638","street_2":"Depto.Bosquemar","zip_code":" "}},"customer_debited_date":"2021-11-15T13:00:27.554Z","customer_directly_pays_seller":false,"customer_notification_email":"rcuashnj9m7.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-11-19T14:41:53Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"promo","type":"TEXTAREA","value":"DESPACHORIPLEY|Despachoripley|despachoripley-DESPACHO_GRATIS_RP_P_SP_TMP_2021_10-10794572:-7000.0"}],"order_id":"145524115-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"MD201-H","category_label":"Anteojos","commission_fee":6838,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2021-11-15T12:44:37Z","debited_date":"2021-11-15T13:00:27Z","description":null,"fees":[],"last_updated_date":"2021-11-19T14:41:53Z","offer_id":2510101,"offer_sku":"SC0174S-30006077001","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"287808974","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":37990,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":37990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":37990,"product_medias":[{"media_url":"\/media\/product\/image\/63a100a8-db3d-455a-9bce-b95212c9cc07","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/bc41a677-d8d4-459a-9234-e53de6194511","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/bc7afe02-213f-4359-9f19-968378e620ac","mime_type":"JPG","type":"SMALL"}],"product_shop_sku":"SC0174S-30006077001","product_sku":"MPM00032271554-1","product_title":"LENTES DE SOL STELLA MCCARTNEY HOMBRE, METAL COLOR SILVER SILVER SILVER","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":37990,"amount_breakdown":{"parts":[{"amount":37990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":6838,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":6838,"created_date":"2021-11-17T14:07:58Z","fees":[],"id":"234332","order_refund_id":"7f7c9ba1-180f-4bf4-8d90-916ef63d2d4b","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-11-18T14:17:32Z","fees":[],"id":"234678","order_refund_id":"2a1640a9-684a-4964-9a69-d735fb4816b9","quantity":0,"reason_code":"REFUND_SEL01","refund_state":"REFUNDED","shipping_amount":990,"shipping_amount_breakdown":{"parts":[{"amount":990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":null,"shipping_price":990,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":990,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":6838,"total_price":38980}],"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":37990,"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-11-20T12:58:44.207Z","shipping_price":990,"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":"9","shipping_zone_label":"Valdivia \/Temuco\/ Pto Montt 1","total_commission":6838,"total_price":38980}],"total_count":5267}
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