Our cart can use a variety of currencies. I am trying to get this to work but whenever x_currency_code is specified I get the error in the title.
At first I thought it was because developer accounts could only accept dollars. I don't know if this is the case. In case it is I trying to specify the currency as USD.
I have added this to my form.
<input type="hidden" name="x_currency_code" value="USD">
I then read I need to update my fingerprint. http://developer.authorize.net/guides/SIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=SIM_Submitting_tran...
I changed the following line:
$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id,
$transaction_key, $amount, $fp_sequence, $fp_timestamp)
to:
$fingerprint = AuthorizeNetSIM_Form::getFingerprint($api_login_id,
$transaction_key, $amount.'^USD', $fp_sequence, $fp_timestamp)
This would appear to update the fingerprint. However the error persists. Has anyone run into this? Could someone point me in the right direction please. Everything works fine without my modifications.
Thanks.
02-17-2014 05:41 AM
I dont' think you can just append the USD. You would need to change the getFingerprint method. Or don't pass the x_currency_code at all because currently, each authorize.net can support 1 currency only.
02-17-2014 05:55 AM