DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Paypal Donation Form With Different Categories.

06.01.2010
| 1823 views |
  • submit to reddit
        
<p><big><b>Make a Donation to your company</b></big><br />
Fill out the form and send us a few dollars to appreciate the move:</p>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">

    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="email@gmail.com">
    <strong>Donation / Contribution? </strong><br />
    <select name="item_name">
      <option value="Donation">Donation</option>
      <option value="Contribution">Contribution</option>
	  <option value="Sponsors">Sponsors</option>
	  <option value="Membership">Membership</option>
    </select><br/>

    <strong>How much do you want to donate?</strong><br />
    $ <input type="text" name="amount">

    <input type="hidden" name="no_shipping" value="0">
    <input type="hidden" name="no_note" value="1">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="lc" value="AU">
    <input type="hidden" name="bn" value="PP-BuyNowBF">
	<input type="hidden" name="return" value="http://www.thankyoupage.html">

	<br /><br />
    <input type="submit" value="Pay with PayPal!">

</form>