Support

Home Forums Event Espresso Premium Double charging in PayPal Payments Pro

Double charging in PayPal Payments Pro

Posted: May 23, 2013 at 11:24 am

Viewing 2 reply threads


gwinnettehc

May 23, 2013 at 11:24 am

Hi,

I’m trying to trace an issue, that’s happened about 5 times recently, to see if this is an Event Espresso issue or PayPal issue. Sometimes our users are getting double charged through PayPal but it’s only registering them once for an event.
I’m not sure if it’s something happening in Event Espresso but I just updated the Events Manager plugin, so not sure if that helps.
Has this happened before?

Thanks!

  • This topic was modified 11 years, 6 months ago by gwinnettehc. Reason: removed extra copied text


Sidney Harrell

May 23, 2013 at 12:33 pm

Usually this happens when the PayPal server is a little sluggish, and users get impatient waiting for the thank-you page to load and hit the submit button again while the payment form is still on the screen. You can add some text to the payment page telling the users to only hit the submit button once, or a more extreme measure is to add some javascript to the page that disables the submit button once it is hit once.


Sidney Harrell

May 24, 2013 at 5:10 pm

I went ahead and made some changes that split the call to paypal pro up into an authorization and then a capture, instead of one call to sale, and added some checks to keep multiple authorizations from happening, even if the user hits the button more than once. I’ll email you the file that I made the changes to. Copy the paypal pro folder from plugins/event-espresso/gateways to uploads/espresso/gateways, and use the file that I’m emailing to you to replace it’s equivalent file in uploads/espresso/gateways/paypal_pro. Then deactivate and reactivate the paypal pro gateway to make sure all the paths stored in the database are updated.

Viewing 2 reply threads

The support post ‘Double charging in PayPal Payments Pro’ 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