Skip to content

Demonstrate storing credit cards in Braintree vault and process transactions later

License

Notifications You must be signed in to change notification settings

avidas/braintree-vault-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Braintree Vault Node Sample

Put a credit card or PayPal account in the Braintree vault for later charges.

The demo shows:

  • Vaulting a PayPal or Credit Card Account, sending a nonce to server
  • Create a new customer, exchanging nonce for reusable token
  • Charge customer using the token

Technology

This demo uses

Running the demo locally

  • Run npm install to install all dependencies
  • Run npm start to start the Express app
  • Visit http://127.0.0.1:3000/ in your browser
  • Fill in the form using PayPal or a Credit Card:
    • PayPal
    • Credit Card
      • Number: 4111 1111 1111 1111
      • CVV: 123
      • Expiration date: 11/2020
  • Click Pay
  • You will receive a message that says "Vault Transaction Successful"

Useful links

About

Demonstrate storing credit cards in Braintree vault and process transactions later

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published