Magento and Authorize.net issue

Posted on 2013-09-13
Medium Priority
Last Modified: 2016-03-02
Live Magento store, works fine through PayPal payments. But when we add Authorize.net, transactions won't complete. We get the following error.

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

Called Authorize.net - the account is active
Cut and pasted API Login ID
Generated and cut and pasted new Transaction key

Attached screenshot from Magento admin.

Any ideas?
Question by:abacus41
  • 3
  • 2
LVL 15

Expert Comment

by:Eric AKA Netminder
ID: 39498525
This is going to sound silly, but it happens. I use a web-based system and when I copied/pasted the password I'd been sent, the login would fail, but if I typed it out, it worked.

It's possible that's happening with the two items you "copied and pasted".

I assume you looked at http://developer.authorize.net/tools/responsereasoncode/ -- did you 1) try the https://certification.authorize.net/gateway/transact.dll or https://test.authorize.net/gateway/transact.dll gateways? What happened? Is there a setting on a page that needs to be set to the "live" gateway?

2) set the field x_test_request to "TRUE" and forget to set it back?

3) check the script and confirm that the field x_login is set to the API Login

4) test to see which variables are being passed; if you're not passing the correct ones, you could get the same error message. See http://developer.authorize.net/tools/datavalidation/

Finally -- you're quite possibly trying to submit a test transaction using your production account credentials. This page shows you how to check for it (I'd copy/paste, but I think the content is copyrighted). Specifically, you will want to read about the difference between test mode and a test account.

Good luck,


Author Comment

ID: 39502493
Hi Ep, thanks for the note.

Long term client had offshore developer create the site but is bringing me for the last fixes. I don't have any specific magento experience but lots of ecommerce.

I have viewed both magento admin and authorize.net admin area and been on a 3 way call with Authorize support. If it is not in either admin area I have not looked at it.

In what I can see we are on production, not test mode, but I am only looking in admin. Is their a specific page on the server where I could view the settings for issues?
LVL 15

Accepted Solution

Eric AKA Netminder earned 2000 total points
ID: 39504041
It's been quite a while...

The fields I mentioned are, if I recall correctly, on the page that sends the data to authorize.net and/or on the page that receives the response from authorize.net (probably the first, because that's what triggers the response). It could be contained in a javascript file that is called by the page, too.

It's also possible that the settings are done through the API -- it didn't exist when I last looked at authorize.net.

http://developer.authorize.net/tools/datavalidation/ is where you see what data is being sent; http://community.developer.authorize.net/t5/Integration-and-Testing/AIM-Integration-Method-Error-13-Response-Reason-Text-The/td-p/23691 tells you how to set up a page to send it.

Author Closing Comment

ID: 39514636
Thanks for the help, much appreciated.
LVL 15

Expert Comment

by:Eric AKA Netminder
ID: 39515085
Thanks for the points!


Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Ecommerce has truly become one of the most prosperous ways of monetizing your brand on the Internet. However, when it comes to it, auditing is undoubtedly the lifeblood of this type of business.  This article will help you to conduct your ecommerce …
This article is about the challenges faced by Android app developers.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question