- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cannot get a Donate button to work.
Clicking on the Donate button does not submit the form. Form Code:
Solved! Go to Solution.
- Labels:
-
Payflow
-
Recurring Payments
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's working for me. Something wrong with your webpage code independent of the button code. Nothing wrong with the code button itself. I tried it with a blank webpage and as an email url. It works.
Try it. Copy and paste this on a blank text file and save it and name it test.html and open it in a web browser.
<html lang="en">
<head>
<title>PayPal button</title>
</head>
<body>
<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="XDTTRP46N3GCQ" />
<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_US/i/scr/pixel.gif" width="1" height="1" />
</form>
</body>
</html>
Or try it as an email url link:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XDTTRP46N3GCQ
Kudos & Solved are greatly appreciated. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's working for me. Something wrong with your webpage code independent of the button code. Nothing wrong with the code button itself. I tried it with a blank webpage and as an email url. It works.
Try it. Copy and paste this on a blank text file and save it and name it test.html and open it in a web browser.
<html lang="en">
<head>
<title>PayPal button</title>
</head>
<body>
<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="XDTTRP46N3GCQ" />
<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_US/i/scr/pixel.gif" width="1" height="1" />
</form>
</body>
</html>
Or try it as an email url link:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XDTTRP46N3GCQ
Kudos & Solved are greatly appreciated. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your solutions work. However, this is an Angular application and for some reason that disables the form. I'll have to run that down.
Thanks for your rapid response.
Rich <removed>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An Angular issue. Adding the Angular Directive ngNoForm solves the problem
Thanks for your help. I should have tried your solutions before I posted the question.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Get error message "Someting went wrong" when the sandbox account tap "Agree and Connect" button. in Sandbox Environment
- Button in PayPal Payments Standard
- Shipping options are not appearing in my cart through link or button. in PayPal Payments Standard
- System error for my Paypal button after years of correct working in PayPal Payments Standard
- Need help to integrate PayPal Checkout with Ecwid in PayPal Upgrade Community