Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Double charging in PayPal Payments Pro | Event Espresso - Staging Server
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, 8 months ago by Gabriele Erickson. Reason: removed extra copied text
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.
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.