Skip to content

Latest commit

 

History

History
 
 

standard-integration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Standard Integration Example

This folder contains example code for a Standard PayPal integration using both the JS SDK and Node.js to complete transactions with the PayPal REST API.

Instructions

  1. Create an application
  2. Rename .env.example to .env and update PAYPAL_CLIENT_ID and PAYPAL_CLIENT_SECRET
  3. Replace test in client/checkout.html with your app's client-id
  4. Run npm install
  5. Run npm start
  6. Open http://localhost:8888
  7. Click "PayPal" and log in with one of your Sandbox test accounts