https://ripley-prod.mirakl.net/api/orders?paginate=true&max=1&offset=4704
{"orders":[{"acceptance_decision_date":"2023-08-28T18:58:52Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"21723670801","created_date":"2023-08-28T18:58:52Z","currency_iso_code":"CLP","customer":{"billing_address":{"city":"PUDAHUEL","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Pamela","lastname":"Berrios","phone":"949159615","phone_secondary":"949159615","state":"REG.METROPOLITANA","street_1":"Mar de chile 254","street_2":null},"civility":null,"customer_id":"171233623","firstname":"Pamela","lastname":"Berrios","locale":null,"shipping_address":{"additional_info":null,"city":"PUDAHUEL","company":null,"company_2":null,"country":"CL","country_iso_code":"CHL","firstname":"Pamela","lastname":"Berrios","phone":"949159615","phone_secondary":"949159615","state":"REG.METROPOLITANA","street_1":"Mar de chile 254","street_2":"Casa"}},"customer_debited_date":"2023-08-28T18:58:53.255Z","customer_directly_pays_seller":false,"customer_notification_email":"rm6cnabdqss.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-09-26T12:40:30Z","leadtime_to_ship":7,"order_additional_fields":[{"code":"commiteddate","type":"DATE","value":"2023-09-25T18:58:15Z"},{"code":"storecode","type":"STRING","value":"GLOBAL SHOPEX"}],"order_id":"21723670801-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"R180101000000","category_label":"ACCESORIOS PARA C\u00c1MARAS","commission_fee":10949,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2023-08-28T18:58:52Z","debited_date":"2023-08-28T18:58:53Z","description":null,"fees":[],"last_updated_date":"2023-09-26T12:40:30Z","offer_id":9685582,"offer_sku":"B098X7KYNX","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"21723670801-A-1","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":72990,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":72990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":72990,"product_medias":[{"media_url":"\/media\/product\/image\/011b873c-0126-426f-90ff-816daea1b343","mime_type":"JPG","type":"MEDIUM"},{"media_url":"\/media\/product\/image\/8c43bff5-7cf4-43f5-8512-cf693460fa70","mime_type":"JPG","type":"SMALL"},{"media_url":"\/media\/product\/image\/947fd50e-c2a4-4839-a742-ad86d41ebc2b","mime_type":"JPG","type":"LARGE"}],"product_shop_sku":"B098X7KYNX","product_sku":"MPM10000373818-1","product_title":"ESTABILIZADOR DE CARD\u00c1N CON PALO SELFIE PARA IPHONE: CARD\u00c1N PORT\u00c1TIL DE MANO CON TR\u00cdPODE Y CONTROL","promotions":[],"quantity":1,"received_date":"2023-09-20T13:14:39Z","refunds":[{"amount":72990,"amount_breakdown":{"parts":[{"amount":72990,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":10949,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":10949,"created_date":"2023-09-26T12:10:52Z","fees":[],"id":"521772","order_refund_id":"7d6f9f4f-39b5-489c-899e-b454fb093ca4","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-09-26T12:16:02Z","transaction_number":"Trx-34341515"}],"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":10949,"total_price":72990}],"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":72990,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"references":{"order_reference_for_customer":"Villa los mares"},"shipping_carrier_code":"Bx","shipping_carrier_standard_code":"bluex","shipping_company":"Blue Express","shipping_deadline":"2023-09-04T17:58:52.344Z","shipping_price":0,"shipping_pudo_id":null,"shipping_tracking":"7636477586","shipping_tracking_url":"http:\/\/www.bluex.cl\/nacional?documentos=7636477586","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":10949,"total_price":72990}],"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