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.
- 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
Example pages to send a donor back to your website when they cancel or complete their donation.