Jump to content

general question..


xyncro

Recommended Posts

... ;)

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...

Link to comment
Share on other sites

Guest twisted

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?

Link to comment
Share on other sites

... :wacko:

..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..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...