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.
- System error for my Paypal button after years of correct working in PayPal Payments Standard
- Need help to integrate PayPal Checkout Advanced (PPCP) with WooCommerce in PayPal Upgrade Community
- Why is the paypal button on this donation page not working, but credit card payments do? in PayPal Payments Standard
- PayPal subscribe button not showing up on mobile in Wordpress divi theme in PayPal Payments Standard
- receiving money - money is received, but donors not directed to correct page afterwards in PayPal Payments Standard