The demo shows:
- Vaulting a PayPal or Credit Card Account
- Sending a nonce to server
- Creating a new customer
- Charge customer using a client token
- Node 4.3.1
- Express Web App Framework
- Braintree SDK 1.36.0
In forked project folder:
$ npm install
$ npm start
http://localhost:3000/
in browser- Fill in the form using PayPal or a Credit Card:
- Credit Card
- Number:
4111 1111 1111 1111
- Expiration date:
11/2020
- Number:
- Credit Card
- Submit payment
- Resulting transaction details shown on following page
- braintree documentation - https://developers.braintreepayments.com/
- node/express/jade web app installation - http://goo.gl/wou7il
- paypal project demos - https://github.com/avidas