This folder contains example code for an Advanced PayPal integration using both the JS SDK and Node.js to complete transactions with the PayPal REST API.
- Rename
.env.example
to.env
and updatePAYPAL_CLIENT_ID
andPAYPAL_CLIENT_SECRET
. - Run
npm install
- Run
npm start
- Open http://localhost:8888
- Enter the credit card number provided from one of your sandbox accounts or generate a new credit card