Support

Home Forums Event Espresso Premium Error Connecting to Authorize.net AIM (2)

Error Connecting to Authorize.net AIM (2)

Posted: May 17, 2018 at 9:46 am


Scott Schoberg

May 17, 2018 at 9:46 am

We are experiencing an error when trying to connect to Authorize.net at checkout for a new website that we are creating. The popup error is
“An error has occurred: Error Connecting to Authorize.net AIM”. Below are the steps that I have taken.

1. I have tried in both test and live mode using the correct account id’s and transaction key’s from Authorize.net. The same error happens for both live and test mode.

2. I have confirmed that the server supports the correct requirements https://eventespresso.com/requirements/.

3. We do have a valid SSL certificate (using Cloudflare flexible SSL)

Below are the log entries from Event Expresso:
—————————————————————————————-
[2018-05-17 11:35:08] EE_Payment_Method.class.php -> save()
[payment_method_change] Set new scope on payment method Authorize.net AIM to s:37:”a:2:{i:0;s:4:”CART”;i:1;s:5:”ADMIN”;}”; from a:2:{i:0;s:4:”CART”;i:1;s:5:”ADMIN”;} on URL https://npti.webadaptive.com/wp-admin/admin-ajax.php
—————————————————————————————-
[2018-05-17 11:35:08] EE_Payment_Processor -> update_txn_based_on_payment()
[$do_action] AHEE__EE_Payment_Processor__update_txn_based_on_payment__not_successful
—————————————————————————————-
[2018-05-17 11:35:09] EE_SPCO_Reg_Step_Payment_Options -> _process_payment_status()
[$payment->status()] PFL

Any ideas what might be happening?


Tony

  • Support Staff

May 17, 2018 at 9:51 am

Hi there,

Go to Event Espresso -> Payment methods -> Logs.

Each payment attempt will create multiple log entries, if you click on the ID’s on the left of the table you can open up each individual log entry.

If you open the log table and note the highest log entry number, then attempt a payment in another tab, refresh the log table and view the new log entries created by that last payment, do you see any errors there?


Scott Schoberg

May 17, 2018 at 10:07 am

Here is what I see. I hope this is helpful.

https://www.dropbox.com/s/gyykbw0p5s6x7co/%E2%80%B9_NPTI_%E2%80%94_WordPress.png?dl=0


Scott Schoberg

May 17, 2018 at 10:09 am

Sorry I uploaded the wrong image. if you reload you should see the log as opposed to the payment details.


Tony

  • Support Staff

May 17, 2018 at 10:10 am

That’s the EE transaction, which means your likely clicking the Txn ID on the right-hand side of the logs, you need the ID to the left to view the log entry

Here – http://take.ms/uwn5O

You can see all of those log entries in the box are for the same transaction, so they are from a single payment attempt. You’ll have something similar for AIM.


Scott Schoberg

May 17, 2018 at 10:15 am

Sorry about that. I uploaded the correct image now. https://www.dropbox.com/s/gyykbw0p5s6x7co/%E2%80%B9_NPTI_%E2%80%94_WordPress.png?dl=0


Tony

  • Support Staff

May 17, 2018 at 10:21 am

Ok, can I take a look at the logs in the admin to see if I can find anything?

If so you can send temporary login details using this form:

https://eventespresso.com/send-login-details/


Scott Schoberg

May 17, 2018 at 10:26 am

Thanks! I sent that over.


Tony

  • Support Staff

May 17, 2018 at 10:53 am

Looks like there is an issue SSL on your site.

If you install this plugin: https://en-gb.wordpress.org/plugins/tls-1-2-compatibility-test/

Then go to Tools -> TLS 1.2 Test, what does it show?


Scott Schoberg

May 17, 2018 at 11:05 am

https://www.dropbox.com/s/oynyxem8dvvfwha/TLS%20TEST.png?dl=0


Tony

  • Support Staff

May 17, 2018 at 11:30 am

That’s the problem, Auth.net require TLS1.2 for all connections.

Your host needs to update the server to support TLS1.2, I’d recommend creating a ticket with them and include the above screenshot so they can update the server.

Once the server has been updated to always use TLS1.2 the auth.net connections should work fine, if not we can troubleshoot further from there.


Scott Schoberg

May 29, 2018 at 3:23 pm

Thank you! That was the problem. I enabled TLS 1.2 and all works great.

The support post ‘Error Connecting to Authorize.net AIM (2)’ 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.

Event Espresso