Reply
Highlighted
Contributor
Posts: 10
Registered: ‎06-07-2013

Error (13)

I keep getting a error message saying the API log in & Trans key are incorrect or the account is inactive when I test my page. I am using a php code from the SIM integration and I'm not sure if i am testing it correctly help please!

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Error (13)

From http://developer.authorize.net/tools/responsereasoncode/

 

 

Response Reason Code: 13

Response Reason Text: The merchant Login ID is invalid or the account is inactive.

Integration Team Suggestions: This error indicates you are either posting the incorrect API Login ID within your script, connecting to a server that does not recognize your account, or using an account which is inactive. Please follow these steps to ensure that your software is connecting correctly:

  • If you are posting your transaction requests to the gateway URLs https://test.authorize.net/gateway/transact.dll or https://certification.authorize.net/gateway/transact.dll and you are using an account given to you by an Authorize.Net Reseller or from Authorize.Net Sales, you may encounter this error. The gateway URLs mentioned above only work with specific test accounts, available upon request by completing the form at http://developer.authorize.net/testaccount/
  • Try posting your transaction request to https://secure.authorize.net/gateway/transact.dll instead. If you need to submit a test transaction, you may do so by setting the field x_test_request to "TRUE". You may then remove x_test_request or set it to "FALSE" when you have completed your testing.

    Note: If you are integrating your website with Advanced Integration Method (AIM) using PHP, please be aware that the gateway URL is listed twice--once in the cURL configuration, and once again in the main body of the code. Using the test gateway URL in the cURL section of the code will create an Error 13 as cURL would connect to the incorrect server.
  • Please check your script and verify you are posting the API Login ID for the account in question. If you are not posting the correct API Login ID, or if you are not sending an API Login ID, please edit the script and confirm that the field x_login is set to the API Login ID that you may obtain from the Authorize.Net Merchant Interface. Please see the Merchant Integration Guide at http://www.authorize.net/support/merchant_guide.pdf for instructions on obtaining the API Login ID. For further information on the API Login ID, Transaction Key, or Test Mode, please check out our online video tutorials at http://www.authorize.net/videos/.
  • If you are unable to log into your Authorize.Net Merchant Interface, this could indicate that your account is inactive. If this is the case please contact us directly to reactivate the account. You can reach us toll-free at: (877) 447-3938. We are open Monday through Friday, 5 AM to 5 PM Pacific time (closed major holidays). We will be happy to assist you at that time.
  • If the account is active and the API Login ID is correct, you will want to use the Data Validation URL to see which variables are being passed. For more details, please visit http://developer.authorize.net/tools/datavalidation/
Highlighted
Contributor
Posts: 10
Registered: ‎06-07-2013

Re: Error (13)

Thanks for the response Raynor. I am a total noob at this so I have another question. My Website isn't being hosted yet could this be a reason for the error (13) also? I am building the website in Blue Voda from Voda Host however haven't completed the site or the hosting would you suggest that I get it hosted first?

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Error (13)

The error basically said either you are using a test account on a production authorize.net

or production account on the test authorize.net.

Highlighted
Contributor
Posts: 10
Registered: ‎06-07-2013

Re: Error (13)

I entered the api login and key that was issued on my test account So i need to address the configuration as you stated previously and set the test to false? this is in the code i coppied from the integration page correct?

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Error (13)

If it is a test account, make sure it point  https://test.authorize.net/gateway/transact.dll

Highlighted
Contributor
Posts: 10
Registered: ‎06-07-2013

Re: Error (13)

I did ensure that the destination was correct still getting the error message...

Highlighted
Contributor
Posts: 10
Registered: ‎06-07-2013

Re: Error (13)

Does my site need to be published in order for this to work?

Highlighted
Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: Error (13)

not for error 13, for something liike error 14(relay response) yes.

 

try this update with your loginID/transactionKey and if you are using test account change it to https://test.authorize.net/

https://secure.authorize.net/gateway/transact.dll?x_version=3.1&x_type=PRIOR_AUTH_CAPTURE&x_delim_da...

 

should get an error 16 transaction cannot be found.

Highlighted
Contributor
Posts: 10
Registered: ‎06-07-2013

Re: Error (13)

tried it but the browser could not find the page