Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

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

Example Buttons

Example button created with CSS screenshot of the button created with css Example PayPal branded hosted button screenshot of the PayPal button Example custom hosted button screenshot of the uploaded custom 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 screenshot of cancel.html Completed Donation screenshot of completed.html