Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7ffbf618e8

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore Initial commit. January 31, 2012
Octocat-spinner-32 Procfile use server.js for joyent compatability. January 31, 2012
Octocat-spinner-32 README
Octocat-spinner-32 cash_register.wav
Octocat-spinner-32 index.html word change February 01, 2012
Octocat-spinner-32 package.json
Octocat-spinner-32 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 web.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
Something went wrong with that request. Please try again.