Paypal Payment Script
Today we are going to tell you about how to use the paypal very easily for your website and get paid. You can use the code in your website and it will help you to receive the payments in your paypal account.
You will see three things in it.
1. Amount Column
2.Currency
3.Submit
When you click the submit it will take you to the paypal page
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <table> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="yourmailid@mailid.com"> <input type="hidden" name="item_name" value="Item Name"> <input type="hidden" name="item_number" value="1"> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="no_note" value="1"> <!-- <input type="hidden" name="currency_code" value="USD"> this is hide because we are using the dropdown for currency--> <input type="hidden" name="lc" value="AU"> <input type="hidden" name="bn" value="PP-BuyNowBF"> <input type="hidden" name="return" value="Return path "><br/> <tr> <td>Enter amount to pay</td><td>:</td><td><input type="text" name="amount" value=""></td> </tr> <tr> <td>Select Currency</td><td>:</td><td><select id="currency_code" name="currency_code"> <option value="USD">U.S. Dollar</option> <option value="GBP">Pound Sterling</option> <option value="EUR">Euro</option> <option value="AUD">Australian Dollar</option> <option value="BRL">Brazilian Real</option> <option value="CAD">Canadian Dollar</option> <option value="CZK">Czech Koruna</option> <option value="DKK">Danish Krone</option> <option value="HKD">Hong Kong Dollar</option> <option value="HUF">Hungarian Forint</option> <option value="ILS">Israeli New Sheqel</option> <option value="JPY">Japanese Yen</option> <option value="MXN">Mexican Peso</option> <option value="NOK">Norwegian Krone</option> <option value="NZD">New Zealand Dollar</option> <option value="PHP">Philippine Peso</option> <option value="PLN">Polish Zloty</option> <option value="SGD">Singapore Dollar</option> <option value="SEK">Swedish Krona</option> <option value="CHF">Swiss Franc</option> <option value="TWD">Taiwan New Dollar</option> <option value="THB">Thai Baht</option> </select></td> </tr> <tr> <td></td><td></td><td><input type="submit" value="Pay with PayPal!"></td> </tr> </table> </form>
Please use this demo with your details. below is the working demo it will take you to my account and if you want to pay me than you can proceed.
Thank You happy codeing
No Comments