Just following a YouTube tutorial from Traversy Media where a nodejs app uses the Stripe API to process payments.
Tutorial: https://youtu.be/QT3_zT97_1g
Heroku app: https://ebookseller-learning.herokuapp.com/
Use 4242 4242 4242 4242 as a card number. Other data is ignored.
Things learned:-
- Setting up a Stripe account and using its API.
- Concealing private/secret API keys from Github without affecting project portability.
- Bootstrap is awful.
- Deploying to Heroku.
- Using Heroku config vars to store private/secret API keys.
- Merge a test branch into master.