Home Forums Event Espresso Premium USAePay gateway sending double confirmation emails to attendees

USAePay gateway sending double confirmation emails to attendees

Posted: July 17, 2013 at 6:27 pm

Viewing 5 reply threads

Eric Amundson

July 17, 2013 at 6:27 pm

Hi guys,

We’ve been having an issue with a client site for the last couple of weeks now. It’s Our client is processing registrant payments through USAePay, which I understand is a new gateway that had been added recently.

When we first installed EE on her site in August of 2012, there was no gateway available to connect EE with USAePay, so we had to use an AIM simulator to get it to work.

But when we did that, for some reason, two back to back payment confirmation emails, literally a second apart, would be sent to the registrant whenever the transaction would be completed on USAePay’s end.

This made it look like the registrant paid for their event twice, which freaked the registrant out, which in turn freaked our client out. πŸ™

We somehow fixed it within the simulator, but now that we updated her installation and used the USAePay gateway provided, it’s doing the exact same thing and sending two payment confirmation emails once a person finishes paying for an event on the USAePay site.

It’s also sending out incorrect payment amount within that email, saying that “We have just received a payment in the amount of $0.00 for your registration.” The event did not cost $0.00 and there was an actual, correct charge that went though on USAePay’s end.

Can you help us or possibly point us in the right direction? Everything with EE works fine until a payment is actually processed, offsite, on USAePay, and the return information it sends back to EE seems to be constantly incorrect. πŸ™ We’ve never had a problem with this in all the sites we’ve built around Event Espresso.

Thanks so much in advance! I know you guys are busy.

~Laura Espinosa
Project Manager, IvyCat Web Services


  • Support Staff

July 18, 2013 at 8:25 am

Hi Laura,

I’d point in the direction of any files in /wp-content/uploads/espresso/gateways that were from a prior version of Event Espresso. They should be updated or removed from that location.

Eric Amundson

July 18, 2013 at 11:44 am

Howdy Josh,

I cleaned out that directory and put a fresh copy of the USAePay Offsite plugin and we’re still receiving duplicate payment confirmation emails.

In testing, we found that the Onsite plugin doesn’t do this, so we’ll likely just use that method with SSL.

Let me know if there’s anything I can do to help in troubleshooting the USA ePay Offsite plugin.


  • Support Staff

July 18, 2013 at 1:53 pm

It turns out that I was testing the onsite gateway. I should have asked to clarify. Anyway I did some testing and it looks like the USAepay off-site gateway will send one set of emails if the permalinks are set to default, and two sets if pretty permalinks (%postname%) is set. It seems like this is getting fired twice because of the redirect (can’t say for sure though) so I’m creating a ticket and I’ll let the developers figure this one out.

Thank you for bringing this to our attention!

Eric Amundson

July 23, 2013 at 6:25 pm

Thanks, Josh!

Can you let us know when the offsite gateway will be fixed, and also what the exact issue was that the developers found so we can learn from it too? πŸ™‚ We’re also curious as to what was different in the code.

Thanks so much!
~Laura Espinosa
Project Manager, IvyCat Web Services


July 24, 2013 at 4:09 am

Hi Laura,

We are currently still doing work with this, though our latest tests are looking promising.

The changes being made are due to be included in the .34 release unless something occurs to delay the fixes.

As far as I can make out from the developer babble, it looks like we have changed the logic on dealing with the thank you page responses.

Viewing 5 reply threads

The support post ‘USAePay gateway sending double confirmation emails to attendees’ 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