https://ripleyperu-prod.mirakl.net/api/orders?paginate=true&max=1&offset=3
{"orders":[{"acceptance_decision_date":"2020-06-08T15:03:04Z","can_cancel":false,"can_shop_ship":false,"channel":null,"commercial_id":"25850459","created_date":"2020-06-08T13:26:56Z","currency_iso_code":"PEN","customer":{"billing_address":{"city":"PUEBLO LIBRE","company":null,"company_2":null,"country":"PE","country_iso_code":null,"firstname":"Juan","lastname":"Alfaro","phone":"3634231","phone_secondary":"995201357","state":"LIMA","street_1":"Jiron jose santiago wagner 1955 dpto 606","street_2":"LIMA","zip_code":" "},"civility":null,"customer_id":"45120459","firstname":"Juan victor","lastname":"Alfaro","locale":null,"shipping_address":{"additional_info":"","city":"PUEBLO LIBRE","company":null,"company_2":null,"country":"PE","country_iso_code":null,"firstname":"Juan","lastname":"Alfaro","phone":"3634231","phone_secondary":"995201357","state":"LIMA","street_1":"Jiron jose santiago wagner 1955 dpto 606","street_2":"LIMA","zip_code":" "}},"customer_debited_date":"2020-06-08T15:03:40.612Z","customer_directly_pays_seller":false,"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":"2020-06-09T00:51:48Z","leadtime_to_ship":30,"order_additional_fields":[{"code":"dni","type":"STRING","value":"45120459"}],"order_id":"25850459-A","order_lines":[{"can_refund":false,"cancelations":[],"category_code":"ACCESORIOS PARA DEPORTES","category_label":"ACCESORIOS PARA DEPORTES","commission_fee":93.28,"commission_rate_vat":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT","rate":0}],"commission_vat":0,"created_date":"2020-06-08T13:26:56Z","debited_date":"2020-06-08T15:03:40Z","description":null,"fees":[],"last_updated_date":"2020-06-09T00:51:48Z","offer_id":186620,"offer_sku":"B08761SYDG","offer_state_code":"11","order_line_additional_fields":[],"order_line_id":"71773423","order_line_index":1,"order_line_state":"REFUNDED","order_line_state_reason_code":null,"order_line_state_reason_label":null,"price":518.22,"price_additional_info":null,"price_amount_breakdown":{"parts":[{"amount":518.22,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"price_unit":518.22,"product_medias":[],"product_shop_sku":"B08761SYDG","product_sku":"PMP00000710817-1","product_title":"GNPOLO - JUEGO DE PESAS RUSAS MULTIFUNCI\u00d3N (4 UNIDADES) PESO DE PUBLICACI\u00d3N DEL ART\u00cdCULO: 22.0 POUNDS | Multicolor","promotions":[],"quantity":1,"received_date":null,"refunds":[{"amount":518.22,"amount_breakdown":{"parts":[{"amount":518.22,"commissionable":true,"debitable_from_customer":true,"payable_to_shop":true}]},"commission_amount":93.28,"commission_tax_amount":0,"commission_taxes":[{"amount":0,"code":"TAXDEFAULT"}],"commission_total_amount":93.28,"created_date":"2020-06-08T22:49:04Z","fees":[],"id":"4289","order_refund_id":"568418ec-4437-435d-9bc4-5921913c2420","quantity":1,"reason_code":"15","refund_state":"REFUNDED","shipping_amount":8,"shipping_amount_breakdown":{"parts":[{"amount":8,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_taxes":[],"state":"REFUNDED","taxes":[]}],"shipped_date":null,"shipping_price":8,"shipping_price_additional_unit":null,"shipping_price_amount_breakdown":{"parts":[{"amount":8,"commissionable":false,"debitable_from_customer":true,"payable_to_shop":false}]},"shipping_price_unit":null,"shipping_taxes":[],"taxes":[],"total_commission":93.28,"total_price":526.22}],"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_PAYME","payment_type":"TARJETA_PAYME","payment_workflow":"PAY_ON_ACCEPTANCE","price":518.22,"promotions":{"applied_promotions":[],"total_deduced_amount":0},"quote_id":null,"shipping_carrier_code":null,"shipping_carrier_standard_code":null,"shipping_company":null,"shipping_deadline":"2020-07-08T13:26:56.501Z","shipping_price":8,"shipping_pudo_id":null,"shipping_tracking":null,"shipping_tracking_url":null,"shipping_type_code":"15a20","shipping_type_label":"Env\u00edo Internacional: Entrega a domicilio de 15 a 20 d\u00edas h\u00e1biles","shipping_type_standard_code":null,"shipping_zone_code":"201010","shipping_zone_label":"LIMA METROPOLITANA 1","total_commission":93.28,"total_price":526.22}],"total_count":9639}
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