Place Order Button
I need to do two tasks with the place order button:
1. Insert the order row into table 'orders'
2. Submit a form to the payment gateway
The first item is fine, I can just submit the form and perform the SQL insert
The second item is a bit trickier. Our payment provider issue us with an example form, containing hidden inputs (order value, etc...). The form is submitted and jumps to their secure server where credit card info is entered.
Is there a way to perform step 2 automatically after I've done step 1 ? eg. auto submit their form ?