When a customer pays online he will get automatically registered because after the payment is approved, the virtual merchant returns the data to my page and I register the customer.
Here is the problem: some people are so stupid, they click on submit for payment several times, even though I have a warning displayed about this. Hence, they pay each time they click but do not get registered any more because they are already registered.
The submit button sends the info to the virtual merchant. I want the submit button to send the data to another page where I can check for duplicate registration to prevent a duplicate payment. The problem: If they are not yet registered, I want to send the data to the virtual merchant without a submit button or form. Any ideas?