All blog posts, code samples and downloads licensed under Apache License 2.0.
Close

Creating a "Paypal Donate" button

Oliver Busse on 04/24/2014 21:12:23 CEDT, filed under CSJS 

I just went into a problem finding the right way to implement a Paypal Donate button on my website/project. As the German site does not tell you that I had to switch to the iinternational / English site (developer site) where I found it. Paste the code below onto your page and adapt the [marked] information to your own needs.

<script	src="https://www.paypalobjects.com/js/external/paypal-button.min.js?merchant=[yourEmailAdressUsedWithPaypal]" data-button="donate" data-name="[Your name or project]">
</script>

Tagged with html javascript