I have included the AIM SDK for PHP on my site and incorporated the exact sample code provided on https://developer.authorize.net/integration/fifteenminutes/#custom
I input my test account Login ID and Transaction Key and it works fine. However, when I change it to my live account, I get the following error:
AuthorizeNet Error: Response Code: 3 Response Subcode: 2 Response Reason Code: 13 Response Reason Text: The merchant login ID or password is invalid or the account is inactive.
I am doing nothing different than changing to my live ID and Transaction Key. I have verified both of them numerous times and regenerated the transaction key a couple of times to make sure this wasn't the problem.
I have tried it in test mode and in live mode with the exact same response.
I am also running OS Commerce for the same client and have used the same live ID/Key for the AIM payment module and it works fine, so it's not the ID/Key.
Why would the SDK sample code work for my sample ID/Key, but not for my live ID/Key?
Solved! Go to Solution.
04-20-2011 06:05 PM - edited 04-20-2011 06:07 PM
Thanks. For anyone else facing this, you can some help in the comments in the anet_php_sdk/lib/AuthorizeNetAIM.php file.
I hadn't put the line $sale->setSandbox(false); into my code.
You can also do it this way: define("AUTHORIZENET_SANDBOX", false);
04-21-2011 06:58 AM
Sound like it is still using the test server. Did you change it to use the production server?
04-21-2011 04:50 AM
Thanks. For anyone else facing this, you can some help in the comments in the anet_php_sdk/lib/AuthorizeNetAIM.php file.
I hadn't put the line $sale->setSandbox(false); into my code.
You can also do it this way: define("AUTHORIZENET_SANDBOX", false);
04-21-2011 06:58 AM
Thank you for two people that helped me. I can do it now. I'm very happy so much. They are my whitehorse hero.
09-27-2012 07:00 PM