hno2017 Posted July 13, 2017 Share Posted July 13, 2017 Why new orders are in cart section and not submitted in orders ?? I have cart id and order id but the orders are somehow not completed. This is the output : RETURN HTTP BODY<?xml version="1.0" encoding="UTF-8"?><prestashop xmlns:xlink="http://www.w3.org/1999/xlink"><order> <id><![CDATA[236]]></id> <id_address_delivery xlink:href="http://elpakhsh.com/api/addresses/319"><![CDATA[319]]></id_address_delivery> <id_address_invoice xlink:href="http://elpakhsh.com/api/addresses/319"><![CDATA[319]]></id_address_invoice> <id_cart xlink:href="http://elpakhsh.com/api/carts/522"><![CDATA[522]]></id_cart> <id_currency xlink:href="http://elpakhsh.com/api/currencies/1"><![CDATA[1]]></id_currency> <id_lang xlink:href="http://elpakhsh.com/api/languages/2"><![CDATA[2]]></id_lang> <id_customer xlink:href="http://elpakhsh.com/api/customers/272"><![CDATA[272]]></id_customer> <id_carrier xlink:href="http://elpakhsh.com/api/carriers/82"><![CDATA[82]]></id_carrier> <current_state xlink:href="http://elpakhsh.com/api/order_states/" notFilterable="true"></current_state> <module><![CDATA[cashondelivery]]></module> <invoice_number></invoice_number> <invoice_date></invoice_date> <delivery_number></delivery_number> <delivery_date></delivery_date> <valid><![CDATA[1]]></valid> <date_add></date_add> <date_upd></date_upd> <shipping_number notFilterable="true"></shipping_number> <id_shop_group></id_shop_group> <id_shop></id_shop> <secure_key></secure_key> <payment><![CDATA[Mellat Payment]]></payment> <recyclable></recyclable> <gift></gift> <gift_message></gift_message> <mobile_theme></mobile_theme> <total_discounts></total_discounts> <total_discounts_tax_incl></total_discounts_tax_incl> <total_discounts_tax_excl></total_discounts_tax_excl> <total_paid><![CDATA[240000]]></total_paid> <total_paid_tax_incl></total_paid_tax_incl> <total_paid_tax_excl></total_paid_tax_excl> <total_paid_real><![CDATA[0]]></total_paid_real> <total_products><![CDATA[240000]]></total_products> <total_products_wt><![CDATA[240000]]></total_products_wt> <total_shipping></total_shipping> <total_shipping_tax_incl></total_shipping_tax_incl> <total_shipping_tax_excl></total_shipping_tax_excl> <carrier_tax_rate></carrier_tax_rate> <total_wrapping></total_wrapping> <total_wrapping_tax_incl></total_wrapping_tax_incl> <total_wrapping_tax_excl></total_wrapping_tax_excl> <round_mode></round_mode> <round_type></round_type> <conversion_rate><![CDATA[1]]></conversion_rate> <reference></reference> <visitorCheck></visitorCheck><associations><order_rows nodeType="order_row" virtualEntity="true"> <order_row> <id><![CDATA[317]]></id> <product_id><![CDATA[10104]]></product_id> <product_attribute_id><![CDATA[0]]></product_attribute_id> <product_quantity><![CDATA[1]]></product_quantity> <product_name><![CDATA[ک�سر� خ�ارک باد�جا� تبرک 15000ر�ا�*20عدد]]></product_name> <product_reference><![CDATA[10104]]></product_reference> <product_ean13><![CDATA[10104]]></product_ean13> <product_upc><![CDATA[10104]]></product_upc> <product_price><![CDATA[300000.000000]]></product_price> <unit_price_tax_incl><![CDATA[240000.000000]]></unit_price_tax_incl> <unit_price_tax_excl><![CDATA[240000.000000]]></unit_price_tax_excl> </order_row></order_rows></associations></order></prestashop> I have these ids like the following : Customer: 272 address: 319 cart: 522 Order: .236 But the orders are in cart and not on orders of prestashop admin . What's wrong here ?? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now