Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 7a04196 Aug 15, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit. Feb 1, 2012
Procfile
README Thanks @paulbaumgart Feb 3, 2012
cash_register.wav Initial commit. Feb 1, 2012
index.html word change Feb 1, 2012
package.json
server.js

README

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:
http://devcenter.heroku.com/articles/node-js

Install dependencies with:
npm install .

Run with:
node server.js

Open in browser with:
http://localhost:8080

Add your stripe api key to your env:
heroku config:add STRIPE_SECRET_KEY=<YOUR KEY>

Configure your stripe webhooks here:
https://manage.stripe.com/#account/webhooks

to http://{YOUR_SERVER}/stripe-webhook
You can’t perform that action at this time.