Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.
/ payments-sdk Public archive

Various PayPal JavaScript SDK example integrations.

Notifications You must be signed in to change notification settings

tfulton/payments-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payments-sdk

Project which highlights PayPal JavaScript implementations using various PayPal backend integration methods. Integration methods include:

  • Default client side orders v2
  • Server side Payments v1
  • Server side Orders v2
  • Server side NVP
  • Server side BEAM + Orders v2

Requirements

  • Node.js - Download and install node.js for your particular platform here. This application currently requires a recent version of Node.js (tested with v12.14.0) due to to the use of certain interfaces.

Install Local

  • Clone or download this repository to your local machine.
    You can either download a .zip and uncompress the files locally, or clone the repository using Git. More detailed instructions can be found here.
  • Perform npm install within the project directory.

Configure Backend

  • Create PayPal sandbox REST application and NVP/SOAP credentials per your particular requirements.
  • Customize your credentials:

Configure PP JavaScript SDK Client Library

The PayPal Javascript SDK requires a valid clientId to load. Update the PP JavaScript SDK querystring with your clientId in the following:

Run

npm start and then navigate your browser to http://localhost:3000/ (local deloyment only)

Run on Heroku

See the documents at the following location for a quick Heroku setup guide: https://github.paypal.com/NA-LE/paypal-jsv4-venmo#heroku-preparation

About

Various PayPal JavaScript SDK example integrations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages