Support

Home Forums Event Espresso Premium Cannot get Authorize.net to work

Cannot get Authorize.net to work

Posted: January 17, 2018 at 7:06 am


Lawrence Seltzer

January 17, 2018 at 7:06 am

I have my valid transaction key and API login Id, but I can’t get them to work with authorize.net. The error I get is:
The merchant login ID or password is invalid or the account is inactive.
(plus some HTML code before and after this).
I have confirmed several times that the credentials are correct. I have recreated the key and pasted it directly into the field (as well as typed it by hand) and it doesn’t work.
I got a different plugin for wordpress and tried the ID and key combination there and they worked.
I do not know how to proceed because I have very little feedback from the EE4 program.

How can I solve this problem?

Thank you.


Josh

  • Support Staff

January 17, 2018 at 7:13 am

Hi Lawrence,

The first thing to check is whether Debug Mode is set to On or Off. If you’re using a non-developer account, Debug Mode must be set to Off.


Lawrence Seltzer

January 17, 2018 at 7:17 am

“Send test transactions?” is set to “no” on the page https://www.thebrownstoneny.org/wp-admin/admin.php?page=espresso_payment_settings&action=default&payment_method=aim&_wpnonce=7833f8899c&default_nonce=7833f8899c&return=update_payment_method

also in wp_config I have this line:
define(‘WP_DEBUG’, false);

What else can I check?
Thank you.


Josh

  • Support Staff

January 17, 2018 at 7:32 am

Hi Lawrence,

We do not have admin access to your website, so as you can imagine, the link you posted just redirects to a log in page.

Send test transactions? is actually not the “Debug Mode On?” option. They are two separate options that do two different things. When you’re looking at the Payment Methods settings page, is Debug Mode On? set to Yes or No?


Lawrence Seltzer

January 17, 2018 at 1:35 pm

I found the setting and it was set to “no”.
I understood already you would not have access to the page based on the URL I gave you, but I was hoping you would identify that it was the correct page. I can’t paste or upload images, and so it is sometimes hard to describe what I am looking at and then have you confirm I am looking at the correct item.

What Can I try now?


Josh

  • Support Staff

January 17, 2018 at 5:03 pm

May I ask which type of Authnet account are you trying to use? Also, are you trying to use the AIM gateway or the SIM gateway?


Lawrence Seltzer

January 18, 2018 at 6:10 am

I have logged into the account, but I do not know what aspect of the account defines the “type”. Can you please advise what information you want?


Josh

  • Support Staff

January 18, 2018 at 8:14 am

Let’s start with which integration are you trying to use. Is it AIM or SIM? Also, you mentioned another plugin on your site that works at the moment, does that use AIM, SIM, Accept, or another Authorize.net API?


Lawrence Seltzer

January 18, 2018 at 12:24 pm

AIM. I believe the other plugin was AIM too.


Josh

  • Support Staff

January 18, 2018 at 2:18 pm

It may help to temporarily deactivate that other plugin while you’re troubleshooting. Then, you go to Event Espresso > Payment Methods > Logs. Then you can click on the individual log items, there should be 3 log items per transaction. One of the log items for every transaction will print a value for Server URL near the end of the log. Can you check to see what’s logged for the Server URL there?


Lawrence Seltzer

January 18, 2018 at 3:16 pm

I deactivated the other plugin from the moment I was able to get it to connect.

https://secure2.authorize.net/gateway/transact.dll
the AIM request sent is completely blank. For example:

26 x_tran_key=

Please advise.


Tony

  • Support Staff

January 19, 2018 at 4:20 am

I deactivated the other plugin from the moment I was able to get it to connect.

So it works with the other plugin de-activated or not?

26 x_tran_key=

That’s from the 1st log entry of the 3, right?

Are all fields blank or x_login/x_tran_key?

x_login and/or x_tran_key being blank explains why you’re getting the above error from Auth.net as those fields are required but those values are taken directly from the object so should always be there as long as they are set on the payment method.


Lawrence Seltzer

January 19, 2018 at 4:47 am

SO what do I do now? I had filled in the two fields in the setup screen with my ID and KEy, but the log entries for ALL the fields are blank.


Tony

  • Support Staff

January 19, 2018 at 6:39 am

Have you checked the servers error logs to see if there are any errors shown from EE?

You can also enable WP_DEBUG on the site using the snippet here:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

Which will set your site to log the errors in /wp-content/debug.log and not display them, then test an auth.net AIM payment again and see if adds any errors to the log.

The support post ‘Cannot get Authorize.net to work’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 1 year, 9 months ago ago

Topic Tags

Tagged: 

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!