"Donate" Button HTML Code

Posted by Abdel on 6:40 PM 0 comments

The example code below shows the minimum information you need to create a Donate button (in this case, to make a $25.00 USD donation):

<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="
Your Paypal Account">
<input type="hidden" name="item_name" value="
Your Name">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="25.00
">
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

  • PS: Edit what is in Bold characters!!

Pasting this code into your website would generate a button that looks like this:

Sample Donate Button


0 Responses so far:

Leave a Reply