Reply
ameys
ameys New Community Member
New Community Member
Posts: 1
Kudos: 0

Re: Donate Button will not work

I also added the donate button to my website www.knustsoutheast.com and it will not work. when you click on it nothing shows up. on rare occasion that will show some activity, it display an fatal error message.  this is the code provided by paypal

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input value="_s-xclick">
<input value="7UFUZ4ZNJB7EJ">
<input src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

0 Kudos
emptynets
emptynets New Community Member
New Community Member
Posts: 1
Kudos: 1

Re: Donate Button will not work

Hello!  The link to my donate now button works...but that is how it looks in the email - like a link instead of the actual image of "Donate" with the button to click.  How do I get the image of the button to show instead of the link?

mmt085
mmt085 Member
Member
Posts: 1
Kudos: 0

Re: Donate Button will not work

I also am trying to put a donate button on the webiste for the American Indian Center of Arkansas, a non-profit.  Here is the code:

<FORM action=https://www.paypal.com/cgi-bin/webscr method=post><INPUT type=hidden value=_s-xclick name=cmd> <INPUT type=hidden value=WCPMQTGP3XNHS name=hosted_button_id> <INPUT type=image alt="PayPal - The safer, easier way to pay online!" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border=0 name=submit> <IMG height=1 alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width=1 border=0> </FORM>

 

When the button is pushed, you receive a "Fatal Failure" page.  This website is not yet published, this is in preview mode.   Thanks!

0 Kudos
iwillingham7
iwillingham7 New Community Member
New Community Member
Posts: 1
Kudos: 1

Re: Donate Button will not work

I'm trying to add the "Donate" button to a facebook page. I've tried both the email link and the website link... only the text that I copy and paste shows up... no button. Help!

IanTD
IanTD New Community Member
New Community Member
Posts: 1
Kudos: 0

Re: Donate Button will not work

Here's my code

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="WYVN47Y5Y873A">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>


 It shows up on my page but brings me to the paypal home page when it's clicked. If I'm signed in paypal it bring me to my payments page. Here is the url to my site: www.universally.me

0 Kudos
Coleen
Coleen Member
Member
Posts: 3
Kudos: 0

Re: Donate Button will not work

I was having the exact same problem and called and asked to be connected top the Merchant Services Tech. Here is what the most likely problem for all of us is...

 

If your code is in a page that is strictly a .htm or .html page, it should work with no issues, however, if you are are putting your code in a page such asn an .aspx page or using  a Masterpage your Donate button will be inside an existing "<form>" tag and therefore will only "refresh" the page when your users click on it. The solution is to put an end "</form>" tag before your Donate button code and then re-open your form. In other words , if you are putting your code in any page that has code like this " <form id="form1" runat="server">" right below the "<body>" tag here is the code you want to use:

 

 

 </form>

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="************">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

<form>

 

 

Be sure to put YOUR ID in the value section or it still won't work.

 

For those of you who are not web designers or developers what this means is that you have to first close the "form" that the rest of your page is in, paste the "form" code for the Donate button from PayPal and then re-open your form. Be SURE that you re-open your form or you will get more errors...

 

Hope this helps others - thanks very much to the Merchnt Service Tech for providing me with the quick and simple fix to this problem.

 

0 Kudos
bjuschko
bjuschko Contributor
Contributor
Posts: 6
Kudos: 0

Re: Donate Button will not work

I've inserted this code...the button shows up but when I click the button it takes me back to my homepage..

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="CMW9Y3F6JAJ5Y">
<input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

 

0 Kudos
Coleen
Coleen Member
Member
Posts: 3
Kudos: 0

Re: Donate Button will not work

bjuschko

 

Try putting a </form> tag directly above your code, so your code would look like this:

 

</form>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="CMW9Y3F6JAJ5Y">
<input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110306-1/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

 

That closes any form tags that already exist in your code - and HTML pages will have a <form> tag at the top of the page. The PayPal button will not work if it is inside an existing <form> tag. You have to close it first </form> and then insert your code. Try it and see if that works for you.

 

 

Hope that helps,

 

Coleen

0 Kudos
bjuschko
bjuschko Contributor
Contributor
Posts: 6
Kudos: 0

Re: Donate Button will not work

[ Edited ]

okay will try that now...thanks...

 

Okay did what you said and now it works...thanks a bunch

 

 

0 Kudos