An online purchasing application with Stripe. You can look more on Stripe here Direct link to the app : https://arcane-dawn-35722.herokuapp.com/
In this application, we will build a Node.js/Express app using the Stripe API to sell an ebook. For testing the payment, you can use the following card numbers. Any valid date and random CCV number(3 digits) can be used to proceed.
4242424242424242 Visa
4000056655665556 Visa (debit)
5555555555554444 Mastercard
5200828282828210 Mastercard (debit)
378282246310005 American Express
36227206271667 Diners Club
- Express.js - version 4.17.1
- Express-Handlebars - version 4.0.4
- stripe - version 8.55.0
To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. After npm start, you go to http://localhost:5000 in your browser.
# Clone this repository
$ git clone https://github.com/obeka/purchase-ebook.git
# Go into the purchase-ebook folder
$ cd purchase-ebook
# Install dependencies
$ npm install
# Run the app
$ npm start
- Go to the payment page
- Enter card details
- Save your information for the next payment
Based on a YouTube totorial. Link
📬 You can send me email : [email protected] 📬