Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acro5piano/learn-paypal-braintree
Braintree (by PayPal) Full Example for beginers, along with official tutorial
https://github.com/acro5piano/learn-paypal-braintree
braintree javascript paypal
Last synced: 3 months ago
JSON representation
Braintree (by PayPal) Full Example for beginers, along with official tutorial
- Host: GitHub
- URL: https://github.com/acro5piano/learn-paypal-braintree
- Owner: acro5piano
- Created: 2018-06-03T06:15:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T15:21:56.000Z (about 1 year ago)
- Last Synced: 2024-05-01T19:26:32.499Z (8 months ago)
- Topics: braintree, javascript, paypal
- Language: HTML
- Homepage:
- Size: 24.4 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# learn-paypal-braintree
This repository shows how braintree SDK + express.js works.
# Why
Brain tree has official tutorial (of cource) but it contains a lot of implicit dependency.
For example, `app` is for express instance, but JavaScript beginners has lack of the background, so hard to implement the tutorial.https://developers.braintreepayments.com/start/hello-server/node
This is official example repository using express.js, but it has a lot of things such as templates, stylesheets, etc.
https://github.com/braintree/braintree_express_example
Beginner should start the minimam start point. So I created this repository.
# Setup
Install Node.js > 8 and install Yarn.
Then run:
```
git clone https://github.com/acro5piano/learn-paypal-braintree.git
cd learn-paypal-braintree
yarn install
yarn dev
```Optional: Edit `server.js` and fill out your SDK tokens.
Then open `index.html` and you can see the braintree screen.
![image.png](https://qiita-image-store.s3.amazonaws.com/0/103885/59161f38-e895-fc35-4175-0b6b5d97728f.png)