September 21, 2012 at 3:27 pm
Hi,
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?
|