Post by Qphoria » Tue Dec 01, 2009 12:22 am

I believe there is a bug in ALL payment modules for when currency is forced to change.

In all payment module code where you find:

Code: Select all

$order_info['currency'], $order_info['value'], FALSE
It should be:

Code: Select all

$order_info['currency'], FALSE, FALSE
When passing the "value" parameter, it forces the value to stay the same while the currency option only changes the symbols and decimal places.
So $50.00 ---> 50.00€
But really it should be $50.00 ---> 33.28€

It is not noticed normally because most payment modules support the main currencies they are used for. But that isn't always the case. In the case where there is a conversion done, it doesn't change the price properly.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: Semrush [Bot] and 9 guests