Jump to content

GoogleBoss

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

GoogleBoss's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi Guy I have done it: Here is my code on the checkout.php. <SCRIPT type="text/javascript" > function choixprop(form_btnrad) { if (form3.choix[0].checked) { window.document.paypal.submit() }; if (form3.choix[1].checked) { window.document.moneybookers.submit() }; if (form3.choix[2].checked) { window.document.alertpay.submit() }; } </SCRIPT> <FORM NAME="form_btnrad"> <INPUT TYPE="radio" NAME="choix" VALUE="1" checked="checked"> PayPal <INPUT TYPE="radio" NAME="choix" VALUE="2"> Skrill/Moneybookers <INPUT TYPE="radio" NAME="choix" VALUE="3"> AlertPay <input name="Pay" type="button" id="Pay" onClick="choixprop(form_btnrad)" value=" "> </div> </FORM> Now, I am trying to do something else. All the html form of these payments gateway are on the same page checkout.php. I would like to put them on anoher page like payments_data.php and then, call them from the main page checkout.php. Is something like this possible. All my researchs say to use an external javascript file. What can I do? Once again, thank for your help.
  2. thank you PeoMachine I forget to mention that I don't use any Database now. I am trying to use something like javascript or php. I think Javascript would do it faster. Have a nice day PeoMachine.
  3. HI I am building an ecommerce web application for School Education. The customer have choice between three payment methods. Let's Say Paypal, Monebookers(Skrill) and Alerpay. That means : each product must have three " Buy Now " Buttons.Here are exemple of these button : PAYPAL <form action="https://www.paypal.com"> <input type="hidden" name="business" value="[email protected]"> <input name="submit" > </form> ALERTPAY <form action="https://www.alertpay.com"> <input type="hidden" name="business" value="[email protected]"> <input name="submit" > </form> MONEYBOOKERS <form action="https://www.moneybookers.com"> <input type="hidden" name="business" value="[email protected]"> <input name="submit" > </form> My purpose is to just have one "Buy Now" button in front of each product. After clicking that button, the customer is redirected to a page where he will have to choose one payment method by selecting it with the radio button. After his selection, he will submit his choice by click on a button and according to his choise, he will land to paypal or alertpay or moneybookers website. I am a novice in php and I know this is possible, but I don't just know how to do it. Any help would be greatly appreciated
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.