Totally Zenned
- Join Date:
- Nov 2006
- Posts:
- 505
- Plugin Contributions:
- 0
Authorize.net : The supplied currency code is either invalid
My ZC is not translating currencies into USD before transmission to Authorize.net.
Is there a setting I missed? or will this work when I go live?
I have authorize.net (AIM) set to production, and authorize.net's gateway set to test mode.
I have the default currency in USD, no other languages, running ZC 1.3.8a
ex: $6 product:
USD (accepted):
Response Code: 1.
Response Text: (TESTMODE) This transaction has been approved.Sending to Authorizenet: Array
(
[x_login] => *******
[x_tran_key] => *******
[x_relay_response] => FALSE
[x_delim_data] => TRUE
[x_delim_char] => |
[x_encap_char] => *
[x_version] => 3.1
[x_type] => AUTH_CAPTURE
[x_method] => CC
[x_amount] => 6.00
[x_currency_code] => USD
GBP:
Response Code: 3.
Response Text: (TESTMODE) The supplied currency code is either invalid, not supported, not allowed for this merchant or doesn't have an exchange rate.Sending to Authorizenet: Array
(
[x_login] => *******
[x_tran_key] => *******
[x_relay_response] => FALSE
[x_delim_data] => TRUE
[x_delim_char] => |
[x_encap_char] => *
[x_version] => 3.1
[x_type] => AUTH_CAPTURE
[x_method] => CC
[x_amount] => 6.00
[x_currency_code] => GBP
EURO:
Response Code: 3.
Response Text: (TESTMODE) The supplied currency code is either invalid, not supported, not allowed for this merchant or doesn't have an exchange rate.Sending to Authorizenet: Array
(
[x_login] => *******
[x_tran_key] => *******
[x_relay_response] => FALSE
[x_delim_data] => TRUE
[x_delim_char] => |
[x_encap_char] => *
[x_version] => 3.1
[x_type] => AUTH_CAPTURE
[x_method] => CC
[x_amount] => 6.00
[x_currency_code] => EUR
From Merchant support at Authorize.net:
3|1|39|*(TESTMODE) The supplied currency code is either invalid, not supported, not allowed for this merchant or doesn't have an exchange rate: Error 39 only brings up that text, we have no work around documents for that error. Apparently it does not appear that the correct currency code is being submitted to Authorize.Net. You will most likely want to either remove the currency code variable, or review our implementation guide at [ http://developer.authorize.net/guides/ ] to be sure that the cart is correctly integrated with Authorize.Net.
Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41