This sample app shows you how to integrate PayPal into your JavasScript app for the [standard checkout(https://developer.paypal.com/docs/checkout/standard/integrate/) workflow.
You can run this project locally or inside of Stackblitz.
- Open the
index.html
and resplace thetest
string in the script tag with your PayPal Client ID.
- Inside of the
.env
file, enter your PayPal client ID for theCLIENT_ID
andAPP_SECRET
enviroment variables. - Run
npm install
in your terminal - Run
npm start
in your terminal
The PayPal Developer community helps you build your career while improving your 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