This has worked fine for a couple of years but now I want to create a mysql database entry of the customer details before they go through to the payment gateway.
I have tried having the php program that does the database entry as the action from the form with a redirect to the payment gateway in the php program, that worked but there were no values in the form by the time it got to the payment gateway. Has anyone come across this problem and more important has anyone solved it?
Msg#: 1945 posted 10:44 am on Oct 29, 2003 (gmt 0)
I had thought of adding the paremeters to the payment gateway url, but the restriction on passing parameters is 255 characters I believe. This limit could easily be hit with the data being transfered so that's not an option.
Would it be possible to send the form twice?
First time to update the database and then the second time to the payment gateway?
Thanks for your advice, I looked at various options, but in the end I reconfigured the results sent from the payment gateway to display a more user friendly "thank you" page and updated the database from there.