Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (16 sloc) 640 Bytes
A simple app written in node.js (and, marginally designed to run on Heroku).
This listens for charge.succeeded webhooks from Stripe, and then prints a
message (and plays a sound) in any browser connected to the server.
For info on setting up on heroku, see this tutorial:
Install dependencies with:
npm install .
Run with:
node server.js
Open in browser with:
Add your stripe api key to your env:
heroku config:add STRIPE_SECRET_KEY=<YOUR KEY>
Configure your stripe webhooks here:
to http://{YOUR_SERVER}/stripe-webhook