Skip to content

jethridge1964/PayPal-JavaScript-FullStack-Standard-Checkout-Sample

 
 

Repository files navigation

PayPal Developer Cover

Twitter: PayPal Developer
Twitter   -   PayPal   -   Docs   -   Code Samples   -   Blog

PayPal JavasScript (NodeJS) FullStack Standard Checkout

This sample app shows you how to integrate PayPal into your JavasScript app for the standard checkout workflow.

Run this project

PayPal Codespaces

Open Code In GitHub Codespaces

Locally

In your terminal run:

npm start and navigate to http://localhost:8888/.

Frontend

  • Open the checkout.html and resplace the test string in the script tag with your PayPal Client ID.

Backend

  • Rename the .env.example file to .env.
  • Inside of the .env file, enter your PayPal client ID for the PAYPAL_CLIENT_ID and your PayPal app secret for the PAYPAL_CLIENT_SECRET enviroment variables.
  • Run npm install in your terminal
  • Run npm start in your terminal

PayPal Developer Community

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.

About

Fullstack application using PayPal SDK for the frontend and NodeJS for the backend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.5%
  • Shell 8.9%
  • HTML 6.6%