This project is just a verified and opinionated variation of a source code from Nicolas Grenié's blog post. Read the original blog post to understand what this does.
A somewhat crude explanation:
- Somebody submits TypeForm form which contains Stripe integration (and pays for something during submission)
- TypeForm triggers this webhook
- This server updates a matching Stripe transaction with an email of the form submitter
- Stripe automatically triggers an email with a purchase receipt that is send to the submitter
- Profit
# Fill in required environment variables
cp .env.example .env
vim .env
# Install application dependencies and run the server
npm install
npm start