I've looked all over paypal's website and can't find any info on creating a simple text link for a donation.
Anyone have any info?
I've looked all over paypal's website and can't find any info on creating a simple text link for a donation.
Anyone have any info?
Updating the button code from paypal:
<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="[email protected]">
<input type="hidden" name="item_name" value="Team In Training">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="25.00">
<a href="javascript:document._xclick.submit();">Donate</a>
</form>
According to this link, you can use HTTP GET, meaning you can build a URL for a simple link. Note that this link is written in C#, so you can't actually use this as code reference.
You'll probably need something like
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=...">
Make sure to use '&' to separate fields and to encode them properly if they include special characters (such as '&').