10

I am facing error during the placeorder using method authorised.net in magento:

"Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.
skolima
  • 31,963
  • 27
  • 115
  • 151
Bhavik
  • 183
  • 1
  • 1
  • 13

4 Answers4

20

I was having this exact same problem. I used the information here to solve the problem:

http://support.authorize.net/authkb/index?page=content&id=A415&pmv=print&impressions=false

The short answer is that you need to change the Gateway URL from the default (that you would use with a real account):

https://secure.authorize.net/gateway/transact.dll

to (use with your test account):

https://test.authorize.net/gateway/transact.dll

To do this in the Magento Dashboard:

  1. Go to System -> Configuration

  2. Select Sales -> Payment Method (in the left sidebar)

  3. Expand the "Authorize.net" option (I didn't try the "Authorize.Net Direct Post" option, but it appears to use the same default Gateway URL, so this will probably work with that, too).

  4. Change the "Gateway URL" from the default Gateway URL to the test Gateway URL (see above).

  5. Click "Save Config" at the top.

  6. Retry your test sale--it should work now!

Michael Thessel
  • 706
  • 5
  • 20
SirGeekALot
  • 395
  • 3
  • 7
16

This happened to me as well, so for posterity:

If you are still using the test gateway, there is a pre-set API Login ID: 92KgL2uD and Transaction Key: 4nT73z4473vLJfXF.

Then when you move to production code, you will need to use the API Login ID and Transaction Key available through the Merchant Profile.

Reed
  • 301
  • 1
  • 3
  • 7
1

Please, use https://test.authorize.net/gateway/transact.dll to 'Gateway URL' for the test transaction.

It works for me.

Bratati Dolai
  • 46
  • 1
  • 6
0

You will get this error for the following reasons:

  1. Either your login ID or transaction key is wrong.
  2. You're trying to use the developer account with your live credentials or vice versa
  3. Your Authorize.Net account is inactive
John Conde
  • 217,595
  • 99
  • 455
  • 496