https://ripleyperu-prod.mirakl.net/api/orders?paginate=true&max=1&offset=8193
{"orders":[{"acceptance_decision_date":"2024-09-09T14:47:15Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"6798560701","created_date":"2024-09-09T14:47:13Z","currency_iso_code":"PEN","customer":{"billing_address":{"city":"MIRAFLORES","company":null,"company_2":null,"country":"PE","country_iso_code":"PER","firstname":"Joe","lastname":"Mcshee","phone":"997513238","phone_secondary":"997513238","state":"LIMA","street_1":"Ca. Gral. Vidal 140 1301","street_2":null},"civility":null,"customer_id":"00566188","firstname":"Joe","lastname":"Mcshee","locale":null,"shipping_address":{"additional_info":null,"city":"MIRAFLORES","company":null,"company_2":null,"country":"PE","country_iso_code":"PER","firstname":"Joe","lastname":"Mcshee","phone":"997513238","phone_secondary":"997513238","state":"LIMA","street_1":"Ca. Gral. Vidal 140 1301, Depto","street_2":"LIMA"}},"customer_debited_date":"2024-09-09T14:47:15.602Z","customer_directly_pays_seller":false,"customer_notification_email":"rlnb7unyvls.kbd7rtf19@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-09-16T23:15:26Z","leadtime_to_ship":32,"order_additional_fields":[{"code":"commiteddate","type":"DATE","value":"2024-10-21T14:45:36Z"},{"code":"dni","type":"STRING","value":"00566188"},{"code":"ffconsignado","type":"STRING","value":"false"},{"code":"storecode","type":"STRING","value":"GLOBAL SHOPEX"}],"order_id":"6798560701-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"R281001000000","category_label":"ACCESORIOS","commission_fee":554.22,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2024-09-09T14:47:13Z","debited_date":"2024-09-09T14:47:15Z","description":null,"fees":[],"last_updated_date":"2024-09-16T23:15:26Z","offer_id":668806,"offer_sku":"B081QY9QY1","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"6798560701-A-1","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":3079,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":3079,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":3079,"product_medias":[],"product_shop_sku":"B081QY9QY1","product_sku":"PMP00001706702-1","product_title":"HATHAWAY FAIRMONT MESA DE BILLAR PORT\u00c1TIL | Rojo","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":3079,"amount_breakdown":{"parts":[{"amount":3079,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":554.22,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":554.22,"created_date":"2024-09-16T17:43:55Z","fees":[],"id":"131246","order_refund_id":"f199d3d0-c5a3-4473-bedd-5ed015ff2e53","quantity":1,"reason_code":"16","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":null,"shipping_from":{"address":{"city":null,"country_iso_code":"PER","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":554.22,"total_price":3079}],"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":"TARJETA_BANCARIA","payment_type":"TARJETA_BANCARIA","payment_workflow":"PAY_ON_ACCEPTANCE","price":3079,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":null,"shipping_carrier_standard_code":null,"shipping_company":null,"shipping_deadline":"2024-10-11T23:00:00.000Z","shipping_price":0,"shipping_pudo_id":null,"shipping_tracking":null,"shipping_tracking_url":null,"shipping_type_code":"DDC_DDI25A30","shipping_type_label":"DDC - Env\u00edo Internacional: Entrega a domicilio de 25 a 30 d\u00edas h\u00e1biles","shipping_type_standard_code":null,"shipping_zone_code":"201010","shipping_zone_label":"LIMA METROPOLITANA 1","total_commission":554.22,"total_price":3079}],"total_count":9640}
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