Jump to content

MYSQL Update 5.1 > 5.6 mount paid by customer is not the right one -> Status = payment error


Recommended Posts

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 order
178.                     $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 error
184.                     // We don't use the following condition to avoid the float precision issues : http://www.php.net/manual/en/language.types.float.php
185.                     // if ($order->total_paid != $order->total_paid_real)
186.                     // We use number_format in order to compare two string

 

Is anyone able to help?

 

Thank you

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...