Support

Home Forums Event Espresso Premium Multiple Charges with Authorize.net

Multiple Charges with Authorize.net

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

Hello,

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 Authorize.net 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 Authorize.net 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 Authorize.net’ 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