I am having issues adding a donate button to wordpress site.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a web developer using wordpress. I received this code from the client, however I don't know how to adapt it for wordpress code for a donate button.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"
target="_top">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="PUDHB3L2TQHW4" />
<input type="image"
src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
border="0" name="submit" title="PayPal - The safer, easier way to pay
online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_CA/i/scr/pixel.gif"
width="1" height="1" />
</form>
I tried this and it isn't working as well:
<a href="https://paypal.com/cgi-bin/webscr?cmd=_s-xclick&=PUDHB3L2TQHW4" target="_blank" rel="nofollow"><img src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" alt="" /></a>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Accentweb, I tried the code of your hosted button and I can access correctly to the donation. I tried copying your button code on a basic html page, outside any eCommerce like Wordpress.
Here my test:
If you want to have the button in a form of link you need to use this link instead:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=PUDHB3L2TQHW4

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to prompt a "thank you" after using donate button on a website in PayPal Payments Standard
- PayPal Pay buttons a mysterious process in PayPal Payments Standard
- Add Venmo button to PayPal Donation setup in PayPal Payments Standard
- Need advice on Account / Donations / Payouts / technical issues in Sandbox Environment
- Nexus Mods donation button gives the message, "This organization can't accept donations right now" in PayPal Payments Standard