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

Latest commit

 

History

History
31 lines (22 loc) · 1.92 KB

Readme.md

File metadata and controls

31 lines (22 loc) · 1.92 KB

PayPal over Braintree

The project utilizes the Braintree Node SDK and essentially provides a passthrough/proxy setup in order to operate Braintree server side scalls via Postman. It contains implementations of major Braintree API operations including:

  • Customer
  • Transaction
  • ClientToken
  • some others

Requirements

  • Node.js - Download and install node.js for your particular platform here. This application currently runs on v8.16.2 which works best with PayPal proxy and network security policies.
  • Postman A relatively complete Postman collection can be found in the PayPal Postman Enterprise space here. For a quick import of the collection, the following is a direct shared Postman collection.

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.

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

Configure

  • Create a Braintree Sandbox developer account and PayPal sandbox REST application per your particular requirements.
  • Customize your credentials:

Run

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