"Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.During PlaceOrder Authorised.net in magento"

Bhavik picture Bhavik · Feb 9, 2012 · Viewed 16.1k times · Source

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.

Answer

SirGeekALot picture SirGeekALot · Oct 3, 2012

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!