Jump to content

Prestashop issue when placing the order


utpal_insync

Recommended Posts

Hi All,


I am facing an issue when trying to palce an order from PrestaShop admin section . It is giving the following error .


// Creating order 260. $result = $order->add(); 261. 262. if (!$result) 263. throw new PrestaShopException('Can\'t save Order'); 264. 265. // Amount paid by customer is not the right one -> Status = payment error 266. // We don't use the following condition to avoid the float precision issues :http://www.php.net/manual/en/language.types.float.php 267. // if ($order->total_paid != $order->total_paid_real) 268. // We use number_format in order to compare two string


Thanks and Regards


Utpal


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...