cancel
Showing results for 
Search instead for 
Did you mean: 

Response Reason Code 13 on sandbox account.

I've read several posts here and I can't find a solution to my problem.

 

I am writing an open source library to connect to several gateways.  I signed up for a developer account and have access through the sandbox.authorize.net site.

 

I was given an API ID and a Transaction Key.  I've triple checked them.

 

I am posting to https://test.authorize.net/gateway/transact.dll with x_test_request = TRUE and am getting the following error:

 

Response Code: 3

Response Reason Code: 13

Response Reason Text: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.

 

I've toggled my sandbox account in and out of test mode.  I've set the x_test_request to true, false and omitted.  I've tried posting to the test URL and the production.  No matter what I do I get the same error.

 

Thoughts?

ricomoss81
Member
1 ACCEPTED SOLUTION

Accepted Solutions
5 REPLIES 5

Since it is a test account, no need to have testmode on.

Try getting a new transactionKey.

RaynorC1emen7
Expert

I've updated my transaction key twice.  I've tested this with every permutation of URL, x_test_request (including omitted) and defining my sandbox account to be in test mode and not in test mode.  I always get the same response with or without the "(TESTMODE)" in the Response Reason Text depending on x_test_request.

https://test.authorize.net/gateway/transact.dll?x_version=3.1&x_type=AUTH_ONLY&x_amount=1.99&x_card_...

 

 

see if the above work. just change it with your loginID and transactionKey. and run it in a browser

Interesting...that worked just fine.  Clearly my post is getting a malformed creation.  I'll look into it further.  Thank you.

I was able to track down the problem.  It was an error in a kwarg on my end.  Sorry about the confusion.  Thank you for the help.