I have my Delphi aplication with Intraweb and CGDevTools
I know how to use Indy to post to a URL the neccesary information, BUT I need to redirect the user to the 2Checkout site
Is there something like :
- Code: Select all
WebApplication.GoToURL('http://www.2Checkout.com',POSTDATA);
I also have tried a <form method="post"> and works great the problem is that I have to prepare my database and stuff with a Delphi button, and this HTML aproach does not allow me to make my stuff
I have to do somehting like this
- Code: Select all
procedure OnButtonClick
begin
PrepareDatabase;
Prepare internalInfo
WebApplication.GoToURL('http://www.2Checkout.com',POSTDATA);
end;
But of course the POSTDATA is not part of the GoToURL method, that's exactly what I'm looking for, how to post AND redirect the user to 2Checkout.com