At the end of the registration process, there is a “Complete Purchase” submit button. We’re having an issue where, occasionally, people who are paying for an event (we use Paypal Pro Gateway) get charged twice. I think it is because they are double-clicking instead of single clicking on that “Complete Purchase” button.
With that description in mind, is there an easy way to simply add a javascript to that button, as in:
input type="submit" value="submit" name="submit"
onclick="
if(!submitted) {
this.value = 'Please wait...';
this.disabled = true;
submitted = true;
return true;
} else {
return false;
}
"
The other thing is…what php page do I find that submit button?
The support post ‘Complete Purchase Button Gray Out’ 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.