Hi,
I am attempting to change around a payment system, which books users into an event. The user is asked for their details in a form, which is checked for valid data and then passed to a confirm page.
The confirm page then passes all data to a payment gateway using a POST form. If payment is approved, the gateway sends a (hidden) GET url to the server confirming the order. The order is sent in this url.
However, the new system is passing much more information to the payment gateway, which will not handle the amount of data to send in a GET back to my server...
Could I save the order as 'pending' in my database, then send it on for payment, and if approved, send a single GET var (perhaps the ID of the order) back to my server for confirmation (changing the order from 'pending' to 'approved')? It has to be a POST for the gateway.
After some reading on the subject, it seems its possible to do something tricky using Socket or CURL etc, but I am after a simpler solution.
Any ideas?
Thank you.