Ok.
So I downloaded the PHP sample application and put in my transaction ID and login ID... and when I try to charge it gives me:
The merchant login ID or password is invalid or the account is inactive.
response code | 3 |
response reason code | 13 |
Does the sample app work? I tried in test mode. Live mode. I am at a complete loss. The settings under are set as follows:
define("AUTHORIZENET_SANDBOX",true); // Set to false to test against production
define("TEST_REQUEST", "FALSE"); // You may want to set to true if testing against production
Is this correct? Please help.
05-09-2012 06:37 PM
Are you using a production(live) account loginID and transactionID? or test account loginID and transactionID?
You will get error reason code 13 when you try to use ID the wrong one on the 2 websites(production vs test).
05-10-2012 04:16 AM
So in other words:
The sample app would only work with a test account UNLESS the two variables at the bottom of the config.php were inverted to
define("AUTHORIZENET_SANDBOX",false); // Set to false to test against production
define("TEST_REQUEST", "TRUE"); // You may want to set to true if testing against production
I set it as such, put my account into test mode and the charges worked.
so.. in theory, if I turn those to true/false again - it should charge legit credit cards.
05-10-2012 08:48 AM
define("AUTHORIZENET_SANDBOX",false); // Set to false to test against production
define("TEST_REQUEST", "TRUE"); // You may want to set to true if testing against production
With production account, test syntax/connection on live production site. No transaction will get process.
define("AUTHORIZENET_SANDBOX",false); // Set to false to test against production
define("TEST_REQUEST", "FALSE"); // You may want to set to true if testing against production
With production account, LIVE on PRODUCTION site, charge, process fees will go thru.
define("AUTHORIZENET_SANDBOX",true); // Set to false to test against production
define("TEST_REQUEST", "FALSE"); // You may want to set to true if testing against production
Testing on test site with test account. Use test CC# for testing.
define("AUTHORIZENET_SANDBOX",true); // Set to false to test against production
define("TEST_REQUEST", "TRUE"); // You may want to set to true if testing against production
NO point on doing testmode on test site with a test account.
05-10-2012 09:21 AM - edited 05-10-2012 09:25 AM