Created
May 18, 2012 16:28
-
-
Save kmgdevelopment/2726236 to your computer and use it in GitHub Desktop.
Secure Paypal Donate Button with Custom Amount Field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> | |
<input type="hidden" name="business" value="[Your Secure Merchant ID]" > | |
<input type="hidden" name="cmd" value="_donations" > | |
<input type="hidden" name="item_name" value="[Donation Description]" > | |
<input type="hidden" name="return" value="http://yourdomain.com/thank-you" > | |
<div> | |
<label for="amount">Donation Amount:</label> | |
<input name="amount" type="text" id="amount" > | |
</div> | |
<input name="submit" type="submit" value="Donate" > | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment