Configure the Authorize.net

kentico newuser asked on July 28, 2015 16:06

Hello Everyone,

I am trying to configure authorize.net so that I can test the checkout process.

As required I created a sandbox account and used the api login id and transaction key. I configured the payment gateway also with payment gateway url as: https://test.authorize.net/gateway/transact.dll.

But when I try to use the test credit card number I always get the error like (TESTMODE) The merchant login ID or password is invalid or the account is inactive. (13)

Can anybody please let me know what can be wrong here?

Kind Regards, Amit

Correct Answer

Josef Dvorak answered on August 6, 2015 14:27

Hello Amit,

This could be the explanation, if the other Payment method you see has a different Payment gateway URL.

There are two reasons why the Payment method is not showing up. Either you defined it as Global, but did not turn on the related setting:

E-commerce -> Store configuration -> Store settings -> Global objects -> Payment methods

Or you did not assign it to any Shipping option in:

E-commerce -> Store configuration -> Shipping -> Shipping options -> {Edit} -> Payment methods

I recommend checking both, as they can both be true at the same time.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Bryan Soltis answered on July 28, 2015 16:20

Hello Amit,

Can you log into the sandbox environment? https://sandbox.authorize.net/

You will need to be able to get into that area before the integration will work. Also, be sure you have your Kentico configuration set to "test mode" in the Admin / Settings / E-commerce / Payment gateways / Authorize.NET.

For the test credit card, i know the following will work for test purchases: Card #: 4111111111111111 Exp: 1/2020 CVV2: 123

  • Bryan
0 votesVote for this answer Mark as a Correct answer

kentico newuser answered on July 28, 2015 19:17

Thanks for the response Bryan.

I am able to login to the Sandbox environment. The website is also configured to the test mode.

I also tried using the credit card information as mentioned above but still there is the same issue.

I am using the login id and merchant key as generated by sandbox website and I am still unable to figure out what can be the issue. Please let me know if you need any input from my side.

Kind Regards, Amit

0 votesVote for this answer Mark as a Correct answer

Bryan Soltis answered on July 28, 2015 23:06 (last edited on July 28, 2015 23:07)

I set up a sample site, using the following values and it worked correctly:

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

API Login: 92KgL2uD

API Key: 4nT73z4473vLJfXF

Test Mode: TRUE

You can try using that login / key (they are test ones anyway) and see if it still has a problem. If it does get an error, you must have an incorrect configuration somewhere. If it doesn't get the error, your Authorize.NET account must not be configured correctly and you will need to reach out to Authroize.NET support.

You probably already know this, but just in case...

The Kentico documentation provides steps to configure for Authorize.NET here.

Hope this helps!

1 votesVote for this answer Mark as a Correct answer

kentico newuser answered on July 31, 2015 11:12

I tried these but still there is the same error, but one thing I noticed is the name with which I have created the payment gateway, it seems to not appear in the payment options i.e. I have created a option for the payment gateway with name like "payementauthorize.net" but in the website the payment option that is visible is 'Credit card' which seems to come from global setting. I believe this is the main issue.

Can you let me know if there is any way to show this payment method visible in the website? I tried configuring some settings in the global objects where disabled the checkbox for "inerit from global settings" for the payment method but still no positive output.

Thanks for the patience and support.

Kind Regards, Amit

0 votesVote for this answer Mark as a Correct answer

kentico newuser answered on August 6, 2015 21:32

Thanks Josef, this was the problem as my payment gateway was not visible but after assigning the shipping option like ->

E-commerce -> Store configuration -> Shipping -> Shipping options -> {Edit} -> Payment methods

it become visible and then I was able to make payment.

Once again, Thanks everyone for the help.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.