xyncro Posted May 1, 2005 Share Posted May 1, 2005 ... ok.. i would like to know if it's possible to execute 2 files from the same button.. see below... a little example from secure.php.. // DIRECT CREDIT // name=\"SecureForm\" provides automated submit of form data see examples above if ($gateway=="Direct_Credit") { echo"<form target=\"_self\" action=\"confirmed_dc.php\" name=\"SecureForm\" method=\"post\"> <form target=\"_blank\" action=\"banking.php\" name=\"SecureForm\" method=\"post\"> <input type=\"hidden\" name=\"cart_order_id\" value=\"$cart_order_id\"> <input type=\"hidden\" name=\"total\" value=\"$payable\"> <input type=\"hidden\" name=\"session\" value=\"$session\"> <input type=\"hidden\" name=\"mail\" value=\"Y\"> </form>"; } ..this part is not working for me so what's needed to make that happen..?? or is it possible at all... thx... Quote Link to comment Share on other sites More sharing options...
Guest Posted May 2, 2005 Share Posted May 2, 2005 As far as im aware, you can only pass the form to a signle file. Quote Link to comment Share on other sites More sharing options...
Guest twisted Posted May 2, 2005 Share Posted May 2, 2005 Give a form 2 different actions to perform, and yer gonna confuse the hell outta it! lol Can't you include the contents of banking.php into confirmed_dc.php? Quote Link to comment Share on other sites More sharing options...
xyncro Posted May 2, 2005 Author Share Posted May 2, 2005 ... ..hmmm...!! actually.. i would like to have a way where the customer pays and then directly being redirected to a page where i'm listing the most common banks here in sweden.. from there the customer chooses his bank and pays.. ..after the payment customer is then being redirected back to the cart just to confirm everything... is that a tricky thing..?? maybe there's a mod out here for this..??? (havn't seen any) anyways... i'm now only trying to open up banking.php as a popup where the customer can choose his bank and then continue as described... maybe that would only confuse things with an xtra popup window to deal with.. thx guys.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.