Need to run a CGI and an HTML within another CGI
Need to run a CGI and an HTML within another CGI
(OP)
I have a web page where a user can buy something. On the 'Buy Now' button a CGI located on PayPal.com is called for payment. After the payment process I need the user to go to an already written HTML page.
I thought, executing the PayPal CGI within my own CGI and then run the HTML page would be the best way.
If it is, how if this CGI written? If it isn't, what would be the best way?
Thanks for the help,
Bob Gatto
I thought, executing the PayPal CGI within my own CGI and then run the HTML page would be the best way.
If it is, how if this CGI written? If it isn't, what would be the best way?
Thanks for the help,
Bob Gatto
RE: Need to run a CGI and an HTML within another CGI
Within your HTML form, do you not have a bunch of hidden fields including the amount, currency code, return etc which is passed to the PalPal CGI and processed there? I don't know much about PayPal, but I have seen scripts which include the following:
CODE
Chris.