Jump to content

Authorize.net Currency Restriction Problem


Recommended Posts

Hello,

 

I am pretty new to Prestashop and thought it would be nice to swing over to a free platform in order to better manage my online store. However I am having a problem with getting the authorize.net module working.

 

I have the following settings:

 

Localization - Default Country: United States Default Currency: CAD Dollar

Authorize.net module: installed, configured - test mode

Payment tab: Currency Restriction not available, available for group, countries

 

Front Office: No payment module installed

 

If I go into /authorizeaim/authorizeaim.php, I can find the following code:

 

 

$currency = Currency::getCurrencyInstance($this->context->cookie->id_currency);

if (!Validate::isLoadedObject($currency) || $currency->iso_code != 'USD')

 

and change the USD to CAD.

 

Once I refresh the payment page, it shows up. once I save or refresh the page again, it becomes unavailable again.

 

 

 

I am wondering if anyone possibly may have a fix for this?

post-404662-0-78676900-1349319006_thumb.png

Link to comment
Share on other sites

I seem to have gotten it to work on the Front Office, but in the back office under Payments, it's still unavailable.

 

However now (in test mode) when I go all the way to "Validate Order", it takes me back to step #2.

 

I've checked my permissions to the files, but cannot figure out why this is happening

 

Any help would be greatly appreciated!

Link to comment
Share on other sites

One thing to keep in mind is authorize.net will only take payments in USD. So if you send a payment thru in CAD it will change just the number amount. I don't know the currency conversion, but if the amount is 43.00 CAD it is going to charge 43.00 USD. http://community.developer.authorize.net/t5/Integration-and-Testing/Does-ARB-support-different-currency-types-Specifically-the-EURO/m-p/25265

Link to comment
Share on other sites

×
×
  • Create New...