Support

Home Forums Event Espresso Premium EE4 payment gateway response (code:)

EE4 payment gateway response (code:)

Posted: September 22, 2015 at 11:02 am

Viewing 22 reply threads


pking1

September 22, 2015 at 11:02 am

I’ve installed and am now in the middle of testing EE4 and I’m having an issue when trying to pay for the event. All that comes up is a dialog box that says,”(code:).” I’m using the Autherize.net (AIM) gateway and I have the EE4 Multiple Event Registration add-on installed. Also, I receive and email that said, “Your payment was DECLINED for the following transaction and ticket purchases.” Any help you can provide would be greatly appreciated. Thank you


pking1

September 22, 2015 at 11:07 am


Josh

  • Support Staff

September 22, 2015 at 1:46 pm

Hi there,

Are you testing with your account in test mode or in live mode? If it’s in Live mode, can you try changing your account to test mode?


Lorenzo Orlando Caum

  • Support Staff

September 22, 2015 at 1:49 pm

Hi, is this a new Authorizenet account or a new account that was recently created?

We are trying to determine if you have been able to successfully process payments elsewhere. Also, could you check to see if there are certain fields that are required by the merchant account such as company name or phone number.

By default, these fields are not sent so they could be contributing to the declines that you are seeing.


Lorenzo


pking1

September 22, 2015 at 2:59 pm

Josh and Lorenzo,

Thank you both for the reply. The Account is in test mode and I just changed the settings for my CCV filter on my Authorize.Net. Since I made the change to the CCV filter I no longer get the “(code:),” it now tells me, “The merchant ID or password is invalid or the account is inactive. (code:13).” Could this be because I’m using an Authorize.Net sandbox account?

Thank you!


Josh

  • Support Staff

September 22, 2015 at 3:27 pm

A sandbox account is fine so long as you indicate you’re using a sandbox account in Event Espresso > Payment Methods settings.


pking1

September 22, 2015 at 3:48 pm

I don’t see any option where it yes anything about sandbox or dev account. These are the options I see:

Debug Mode On?

Open by Default?

Authorize.net API Login ID *

Authorize.net Transaction Key *

Send test transactions? *

Debug is set to yes and so is send test transactions.

Thank you.


Tony

  • Support Staff

September 23, 2015 at 5:10 am

The debug mode setting is what switches between sandbox and production auth.net servers.

Debug mode enabled = https://sandbox.authorize.net/

The ‘code: ‘ notice shown in the screen shot is actually just the response from auth.net, which would appear to be nothing.

If you go to Event Espresso -> Transactions.

Find the transaction for this registration and click to view it.

Do you see the failed payments listed there? Is there anything shown within the ‘gateway response’ field?

This screenshot is from SagePay gateway testing but shows the field I’m referring to – http://take.ms/B1aST


pking1

September 23, 2015 at 8:45 am

Tony,

The gateway response was “code:” and my co-worker who was doing the test purchase then received and email that said his payment was declined.

Thank you.


Tony

  • Support Staff

September 23, 2015 at 8:51 am

So in that case auth.net is simply returning “code:” to the EE payment.

Can you disable ‘Send test transactions?’ and retest please, that should not be enabled when using Sandbox.


pking1

September 23, 2015 at 9:30 am

Here is a screenshot:


Lorenzo Orlando Caum

  • Support Staff

September 23, 2015 at 10:02 am

Hi,

We would like to double-check to see if there is an issue with your Authorizenet account. The quickest way to do so would be to register for an Authorizenet test (sandbox) account which takes a few minutes to do here:

https://developer.authorize.net/sandbox/

Next, add your new credentials for your new sandbox account to the payment settings for Authorizenet in your WP dashboard and then be sure that debug mode is on and that send test transactions is on like this:

http://cl.ly/image/173y2v1s2z0k

If that works, then please follow up with Authorizenet support so they can check into the settings for your live/production account.

Do let us know what you discover. Thanks!


Lorenzo


pking1

September 23, 2015 at 10:19 am

Lorenzo,

I have a sandbox account and all my settings were as you had in the image and recently changed them to try what Tony suggested.

Thank you.


Lorenzo Orlando Caum

  • Support Staff

September 23, 2015 at 10:24 am

Alright, thanks for confirming. I thought this was a live/production account that is enabled for sandbox mode?

Could you share a link to any event on your site?

I’d like to try a registration. If it fails, then there may be a connection issue between your site and Authorizenet. Who is your hosting provider?


Lorenzo


pking1

September 23, 2015 at 10:32 am

Lorenzo,

Here is a link to one of the events:

http://imaginepreview.com/candyfactory/events/ballroom-dancing-basics/

It also seem that I can’t clear my cart out or adject the quantity in my cart like the documentation says/shows for The Multiple Event Registration add-on.

Thank you.


Lorenzo Orlando Caum

  • Support Staff

September 23, 2015 at 11:14 am

Hi, thanks for the link.

Who is your hosting provider?


Lorenzo


pking1

September 23, 2015 at 11:29 am

the Hosting is SiteGround. Also, I have the sandbox account on s2Member and that went through fine.

Thank you,

Jason


Tony

  • Support Staff

September 23, 2015 at 11:35 am

I don’t think it’s the cause of this, but ‘Send test transactions?’ should not be enabled when using sandbox, it is for testing payments on a live account.

With that Test mode enabled auth.net basically just checks that that the ‘API Login’ and ‘Transaction Key’ is correct and returns OK. That’s good for live accounts but with sandbox you want the full transaction to go through so you can view further details within the account/transaction.

I get the same error when testing a payment on your site.

Do you have live credentials you can temporarily swap to? You don’t need to make a payment just check that an actual error message is returned rather than nothing.


pking1

September 24, 2015 at 3:59 pm

Tony,

I’ve entered in the live credentials. If I create a test event that free admission will it just bypass the gateway or will I have to make one that you a price to test the live account?

Thanks guys!


Lorenzo Orlando Caum

  • Support Staff

September 24, 2015 at 4:54 pm

Hello, if an event is free, then a registrant will not see the payment option part of registration checkout.


Lorenzo


pking1

September 24, 2015 at 5:46 pm

OK, Thank you I just wanted to make sure. I’ll test it with the live Authorize.Net and then let you know what happens.

Thank you again.


pking1

September 29, 2015 at 12:33 pm

Hello Support,

Sorry it took me a little while it get back to this thread. I wanted to let you all know that the transaction went through successfully with a live account.

I still don’t really know how it wasn’t working properly with the sandbox, though.

Thank you for your assistance in this issue!


Tony

  • Support Staff

September 29, 2015 at 1:37 pm

Hi there,

It is very strange that sandbox wasn’t working.

It could be that the sandbox account hasn’t been created correctly, but really we don’t know. A blank response code means we have very little to go with but you could try creating another sandbox account if you prefer.

Either way I’m glad its working, please let us know if your have further problems.

Viewing 22 reply threads

The support post ‘EE4 payment gateway response (code:)’ 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