Skip to content

paypaldev/PayPal-Donate-SDK-Sample

main
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?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

PayPal Developer Cover

Twitter: PayPal Developer
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

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

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.