Skip to content

A simple braintree server built in NodeJS with express framework and using the Braintree drop-in integration.

Notifications You must be signed in to change notification settings

EddieBranigan/Dropin-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropin-demo

A simple braintree server built in NodeJS with express framework and using the Braintree drop-in integration.

Setup instructions

Install the packages from the package-json file by typing into terminal:

npm install

Make sure to create a .env file with your gateway credentials in it. An example is provided ('example.env').

Start the server

Start the server by typing into terminal:

node app.js

Testing

Testing in the Braintree sandbox environment can be done using testing card numbers provided in the Braintree developer docs located here.

NOTE: When testing card verifications and transactions, keep in mind:

  • Transaction success is determined by the test amount you use. For example, when testing decline scenarios.
  • Verification success is determined by the test card number you use. For example, when testing Vault and recurring billing scenarios.

Disclaimer

This repository is for illustrative purposes only and shouldn't be used directly in a live environment.

About

A simple braintree server built in NodeJS with express framework and using the Braintree drop-in integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published