steve_c Posted December 18, 2016 Share Posted December 18, 2016 Hi all We updated our MYSQL installation from 5.1 > 5.6 yesterday and everything seemed to have gone well until someone tried to place an order. We received the payment mail but did not receive an order mail. In the BO, we could see that no order had been created. We tried to create an order manually from the cart and got the following error: Can't save Order at line 182 in file override/classes/PaymentModule.php 176.177. // Creating order178. $result = $order->add();179.180. if (!$result)181. throw new PrestaShopException('Can\'t save Order');182.183. // Amount paid by customer is not the right one -> Status = payment error184. // We don't use the following condition to avoid the float precision issues : http://www.php.net/manual/en/language.types.float.php185. // if ($order->total_paid != $order->total_paid_real)186. // We use number_format in order to compare two string PaymentModule->validateOrder - [line 2070 - modules/paypal/paypal.php] - [10 Arguments] PayPal->validateOrder - [line 1008 - controllers/admin/AdminOrdersController.php] - [9 Arguments] AdminOrdersControllerCore->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] Is anyone able to help? Thank you 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