Twitter - PayPal - Docs - Code Samples - Blog
PayPal Donate Button on a Static Site
Add a donation button to a static website
This demo application shows three ways to add a PayPal donation button to a static website.
See the Donate SDK documentation on the PayPal developer site for setup instructions.
Demo Site Pages
- Home page with CSS button, full page payment
- Home page with PayPal button, pop-up payment
- Home page with custom hosted button image, pop-up payment
- Cancel page
- Completed donation page
Example button created with CSS Example PayPal branded hosted button Example custom hosted button
Have Donors Return to Your Site
Example pages to send a donor back to your website when they cancel or complete their donation.
Canceled Donation Completed Donation
PayPal Developer Community
The PayPal Developer community helps you build your career, while also improving PayPal products and the developer experience. You’ll be able to contribute code and documentation, meet new people and learn from the open source community.
- Website: developer.paypal.com
- Twitter: @paypaldev
- Github: @paypal