https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=4708
{"orders":[{"acceptance_decision_date":"2023-09-01T16:33:09Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"21732439301","created_date":"2023-09-01T16:33:07Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"VI.A DEL MA","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Luis","lastname":"Tapia","phone":"61947403","phone_secondary":"61947403","state":"V REGION","street_1":"Calle Nueve 248","street_2":null},"civility":null,"customer_id":"131923287","firstname":"Luis","lastname":"Tapia","locale":null,"shipping_address":{"additional_info":null,"city":"VI.A DEL MA","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Luis","lastname":"Tapia","phone":"61947403","phone_secondary":"61947403","state":"V REGION","street_1":"Calle Nueve 248","street_2":"S\/N"}},"customer_debited_date":"2023-09-01T16:33:09.667Z","customer_directly_pays_seller":false,"customer_notification_email":"rdd8nam7etv.olbqcuuqi@us.notification.mirakl.net","delivery_date":null,"discount_campaigns":[],"fulfillment":{"center":{"code":"DEFAULT"}},"fully_refunded":true,"has_customer_message":false,"has_incident":false,"has_invoice":false,"last_updated_date":"2023-10-13T19:58:28Z","leadtime_to_ship":5,"order_additional_fields":[{"code":"commiteddate","type":"DATE","value":"2023-09-29T16:30:51Z"},{"code":"storecode","type":"STRING","value":"GLOBAL SHOPEX"}],"order_id":"21732439301-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"R150205000000","category_label":"COLLARES Y CADENAS","commission_fee":22049,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2023-09-01T16:33:07Z","debited_date":"2023-09-01T16:33:09Z","description":null,"fees":[],"last_updated_date":"2023-10-13T19:58:28Z","offer_id":4166935,"offer_sku":"GEA000000000296","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"21732439301-A-1","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":146990,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":146990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":146990,"product_medias":[{"media_url":"\/media\/product\/image\/295ce1ef-d05d-4731-b9c6-62ed820619b9","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/2f69f85a-eda5-4a12-bb0d-5ee5943ebe10","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/68162c58-bd7a-44e6-a2ce-7fcece7de893","mime_type":"JPG","type":"MEDIUM"}],"product_shop_sku":"GEA000000000296","product_sku":"MPM00089638458-1","product_title":"COLLAR SWAROVSKI 5501080 PARA MUJER EN PLATA | Plata","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":146990,"amount_breakdown":{"parts":[{"amount":146990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":22049,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":22049,"created_date":"2023-10-13T19:57:31Z","fees":[],"id":"531089","order_refund_id":"3b89bb37-3965-4bfe-8a02-743807dd55e4","quantity":1,"reason_code":"REFUND_Resp_seller","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":[],"transaction_date":"2023-10-13T19:58:26Z","transaction_number":"Trx-35390707"}],"shipped_date":null,"shipping_price":0,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":0,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":22049,"total_price":146990}],"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":146990,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":null,"shipping_carrier_standard_code":null,"shipping_company":null,"shipping_deadline":"2023-09-06T16:33:07.798Z","shipping_price":0,"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":"5","shipping_zone_label":"Valparaiso","total_commission":22049,"total_price":146990}],"total_count":5478}
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