/paypal-standard-checkout

Examples from the official PayPal Developer Docs

Primary LanguageHTML

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 CLIENT_ID and APP_SECRET
  3. Replace test in public/index.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