https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=4981
{"orders":[{"acceptance_decision_date":"2024-05-15T02:06:56Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"22440390602","created_date":"2024-05-15T02:06:55Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"LA PINTANA","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Catalina","lastname":"Espina","phone":"937227932","phone_secondary":"937227932","state":"REG.METROPOLITANA","street_1":"Av observatorio 2346","street_2":null},"civility":null,"customer_id":"215607712","firstname":"Catalina","lastname":"Espina","locale":null,"shipping_address":{"additional_info":null,"city":"LA PINTANA","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Catalina","lastname":"Espina","phone":"937227932","phone_secondary":"937227932","state":"REG.METROPOLITANA","street_1":"Av observatorio 2346","street_2":"Casa"}},"customer_debited_date":"2024-05-15T02:06:56.940Z","customer_directly_pays_seller":false,"customer_notification_email":"rcn95zoelq4.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":"2024-06-07T17:05:35Z","leadtime_to_ship":34,"order_additional_fields":[{"code":"commiteddate","type":"DATE","value":"2024-06-28T04:00:00Z"},{"code":"ffconsignado","type":"STRING","value":"false"},{"code":"storecode","type":"STRING","value":"4127"}],"order_id":"22440390602-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"R140702000000","category_label":"MOCHILAS DE TRABAJO Y ESCOLAR","commission_fee":7649,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2024-05-15T02:06:55Z","debited_date":"2024-05-15T02:06:56Z","description":null,"fees":[],"last_updated_date":"2024-06-07T17:05:35Z","offer_id":4618701,"offer_sku":"B0B4WDGL2Z","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"22440390602-A-1","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":50990,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":50990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":50990,"product_medias":[{"media_url":"\/media\/product\/image\/33efab67-ec37-49df-96a1-890987379e49","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/7bcc7f93-d343-49fd-9b0e-7e66f734014a","mime_type":"JPG","type":"LARGE"},{"media_url":"\/media\/product\/image\/f523a978-b3a7-49eb-b3dd-3de28a786e06","mime_type":"JPG","type":"SMALL"}],"product_shop_sku":"B0B4WDGL2Z","product_sku":"MPM10000039289-1","product_title":"MOCHILA PARA LAPTOP LOVEVOOK PARA MUJER EN NEGRO | Negro","promotions":[],"quantity":1,"received_date":"2024-06-02T05:04:09Z","refunds":[{"amount":50990,"amount_breakdown":{"parts":[{"amount":50990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":7649,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":7649,"created_date":"2024-06-07T16:43:07Z","fees":[],"id":"634525","order_refund_id":"40e5ba3e-690b-4d00-b718-9922818d6531","quantity":1,"reason_code":"REFUND_arrcom","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":[]}],"shipped_date":"2024-06-02T05:04:08Z","shipping_from":{"address":{"city":null,"country_iso_code":"CHL","state":null,"street_1":null,"street_2":null,"zip_code":null},"warehouse":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":7649,"total_price":50990}],"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":50990,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":"Bx","shipping_carrier_standard_code":"bluex","shipping_company":"Blue Express","shipping_deadline":"2024-06-17T04:00:00.000Z","shipping_price":0,"shipping_pudo_id":null,"shipping_tracking":"7814144682","shipping_tracking_url":"http:\/\/www.bluex.cl\/nacional?documentos=7814144682","shipping_type_code":"FP_CENTRAL24","shipping_type_label":"Flujo Flota Propia","shipping_type_standard_code":null,"shipping_zone_code":"133","shipping_zone_label":"Region Metropolitana","total_commission":7649,"total_price":50990}],"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