Hello,
I'm building a script which connects to a payment gateway (via a form with hidden inputs) and on that page I'm also creating a database record of the order.
At the moment the record is created when the user visits the page, which will duplicate the data if the user returns to alter any details. This doesn't have much of a negative effect, other than duplicate data in the order management area (which is not marked as a complete order).
What I would like to do is create the database after the user confirms the order and somehow create, populate and submit the form to the Payment Gateway in the background.
Any ideas?
Cheers,
Jon






), for non-JS users you present a button stating 'Make Payment' or the like to submit the form.

Bookmarks