Jump to content

[SOLVED] Bad Exchange


Recommended Posts

Hi, i have problem with my Prestashop 1.4.6.2. When someone try to pay with another currency than GPB sometimes, but not always, I have info in "Orders" like this

"Warning: 114,29 € paid instead of 114,28 € !". When this error is show up, there is always difference +/- 0.01 GPB, not more. The prestashop was modified and but i don't have contact to this guy anymore. I know the problem is result bad round. Probably, prestashop, displays on site rounded prices and when someone payed in another currency, then prestashop took unrounded price who is counted to another currency. This two prices are compare and one is less accurate. Someone know if this is how prestashop counts currency or maybe someone who modified my prestashop changed something in it?

Link to comment
Share on other sites

I think the issue will happen in some circumstance no matter how you set "round mode".

It caused by the different calculation of total from product item between PrestaShop and payment module (or payment site).

 

This happens when you have multiple items in your order

Total 1 - round product items first and add them.

Total 2 - add them up first then round result

Link to comment
Share on other sites

×
×
  • Create New...