Home Forums Event Espresso Premium Multiple Charges with

Multiple Charges with

Posted: January 8, 2015 at 1:54 pm

John Bottini

January 8, 2015 at 1:54 pm

WordPress Version: 4.0
EE Version: 4.4.4p


We have had a frequent, recurring issue where an error message is triggered during the payment process indicating the payment did not go through and suggesting to refresh the page. Following the instructions, the users are refreshing the page and running into the same issue again. However, although Event Espresso is indicating the payment did not go through, it is actually being processed in each time and the users are getting charged multiple times. Do you know what the issue could be here? We’ve hidden the submit button after it’s been clicked once.

Thank you!

Sidney Harrell

January 8, 2015 at 2:37 pm

We’ve created a developer ticket to have a long term solution in a future update, but for right now, you want to open up modules/gateways/Aim/EE_Aim.class.php and take a look at line 215, where all the fields sent to are set:
$this->setField('amount', $total_to_charge);
You’ll want to add a similar line, anywhere in that section that reads:
$this->setField('duplicate_window', 300);
That will keep duplicate transactions from occurring within 5 minutes of each other.

The support post ‘Multiple Charges with’ 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  Sidney Harrell 5 years, 6 months ago ago

Topic Tags


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