Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Neverminddw on March 25, 2020, 06:48:57 PM

Title: PayPal donation button.
Post by: Neverminddw on March 25, 2020, 06:48:57 PM
Greetings to you.

I'm using SMF 2.0.17.
I've already got the html code of paypal donation button. But when I post it on a topic like this:

[html]
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="currency_code" value="EUR" />
<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_NZ/i/scr/pixel.gif" width="1" height="1" />
</form>
[/html]


it shows the "donate" image, but when I click in it, it doesn't open the donate page, no redirection.

Can someone please help?
Title: Re: PayPal donation button.
Post by: vbgamer45 on March 25, 2020, 06:53:54 PM
You can't post that inside an SMF post. SMF does not allow forms in posts.
You can use the payapl email link though.
Title: Re: PayPal donation button.
Post by: Neverminddw on March 25, 2020, 07:08:31 PM
How do I do that?
Title: Re: PayPal donation button.
Post by: vbgamer45 on March 25, 2020, 07:26:57 PM
Paypal should supply you a linking code for email.
Title: Re: PayPal donation button.
Post by: Sir Osis of Liver on March 25, 2020, 10:04:19 PM
Or you can do it like this - (http://www.thekrashsite.com/pics/beerfund.png) (http://www.thekrashsite.com/donate.htm)
Title: Re: PayPal donation button.
Post by: Scooter Trash on March 25, 2020, 10:19:36 PM
Quote from: Sir Osis of Liver on March 25, 2020, 10:04:19 PM
Or you can do it like this - (http://www.thekrashsite.com/pics/beerfund.png) (http://www.thekrashsite.com/donate.htm)

I like it! :)

It would be nice if PayPal didn't show your email address to the whole world though huh? I switched from a personal to a business PayPal account for just that reason.
Title: Re: PayPal donation button.
Post by: Sir Osis of Liver on March 25, 2020, 10:26:36 PM
That's how PayPal identifies accounts to payers.  The email address on my personal account is a forward that's only used for that purpose.
Title: Re: PayPal donation button.
Post by: Gary on March 26, 2020, 02:09:58 AM
You could also set up a PayPal.me link, that doesn't show your email address. It does show your name though.

Mine is: https://paypal.me/Gazmanafc for example.

After that, you can just have a static image that links to your PayPal.me page.