This is a simple project to demonstrate how to integrate stripe payments and webhook handling with express
Copy the
.env.example
file to.env
and fill in the required values.
npm install
npm start
- Go to
http://localhost:3000/purchase
and click on checkout. - It will redirect you to the stripe checkout page. Fill in the details and click on pay.
- You will be redirected to the success page if the payment is successful.
- You can see the payment details in the stripe dashboard.
This project is licensed under the MIT License - see the LICENSE.md file for details.