Jump to content

Total paid amount does not match cart total


Recommended Posts

Hello everyone. Reviewing the error log, I discovered this critical error occurred in the shopping cart in May:

PaymentModule::validateOrder - Total paid amount does not match cart total
Number of times this happened: 4
Order status: Payment error
Object type: Cart
Versión Prestashop: 8.1.5

Searching on Google I found nothing.

Can anyone give me a hint as to where to look?

Thanks.

Captura de pantalla 2025-06-02 094258.png

Link to comment
Share on other sites

Hello. Thanks for responding.

The first error occurred with a bank transfer.
The other three errors occurred with Cash on delivery.

Bank transfer: Pasarela Unificada de Redsys Prestashop v1.5.2 - de Redsys Servicios de Procesamiento S.L.
Cash on delivery (COD) v2.0.1 - de PrestaShop

Captura de pantalla 2025-06-03 085959.png

Link to comment
Share on other sites

On 6/2/2025 at 8:23 PM, RONALDO54 said:

Hello everyone. Reviewing the error log, I discovered this critical error occurred in the shopping cart in May:

PaymentModule::validateOrder - Total paid amount does not match cart total
Number of times this happened: 4
Order status: Payment error
Object type: Cart
Versión Prestashop: 8.1.5

Searching on Google I found nothing.

Can anyone give me a hint as to where to look?

Thanks.

Captura de pantalla 2025-06-02 094258.png

Hello,

Please check the line code:

https://github.com/PrestaShop/PrestaShop/blob/8.1.5/classes/PaymentModule.php#L330

The order status "Payment error" is set from here when the amount is different 

So please check both amounts here.

Thanks,

  • Like 1
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...