News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Authorize.net payment adding USD conversion twice

Started by Valdez360, October 30, 2013, 11:22:29 AM

Previous topic - Next topic

Valdez360

Orders coming in to site ok. All GBP - single currency site.
Order invoices generated by VM2-2.0.24 on Joomla! 2.5.14 are correct, see screenshot.

When Authorize.net processes the order transaction for what should be USD$194.00 id it is applying the exchange rate (now applied twice) charging the customer too much. Very bad for business.

PayPal transactions are ok as are invoice transactions correct. Only authorize.net is doing this.

Has anyone experienced this before?

[attachment cleanup by admin]

Valdez360

Line 56 of authorizenet.php:

const AUTHORIZE_PAYMENT_CURRENCY = "USD";

Change currency to whatever your Authorize.net currency is.

alatak

Hello
What do you mean
Quotewhat should be USD$194.00 id it is applying the exchange rate (now applied twice)

Your order total in the shop currency 121 pounds
It is then converted to the payment currency which is USD (according to google it is then 195.20 U.S. dollars)
the amount calculated by VM is 194.46 USD.

Valdez360

Hello Alatak

Authorize.net and indeed WorldPay (who I did not know were involved until the client told me) as far as I know, received a figure that they treated as GBP because the client's account is in GBP.

When they got a dollar figure, they converted it to dollars again. This resulted in the customers being charged too much.

So it only works if the client account for Authorize.net is set up in USD.

alatak

Hello
ah ok. I did not know that with Authorize.net you could have an account in another currency then USD. THat is the reason why all amounts are converted to USD.
I will check that then.