Fork of @fitztrev's awesome Make It Rain. Refactored for Node.js + Hipchat.
Get a random "make it rain" gif every time you get paid through Stripe.
Works with HipChat.
Add your HipChat Auth and Room Keys to hipchat_webhook_example.js
, update your HipChat room name, and run node hipchat_webhook_example.js
to fire off a sweet gif notification to your room.
-
Add/Copy the route outlined in
hipchat_webhook.js
to something like app/routes/webhooks -
Update it with either your Hipchat API info (see below)
-
Add a webhook to your Stripe account
https://YOUR_SITE_HERE.com/make-it-rain/webhook.php?secret=abc123
- Your
secret
is set inhipchat_webhook.js
and known only to Stripe so nobody can ping that URL and give you a false notification.
- Go to https://hipchat.com/admin/rooms
- Click your room and copy "API ID" to the channel setting in
hipchat_webhook.js
- In "Tokens" for that room, create a token with label "Just got paid" and copy it to
hipchat_webhook.js
Sorry don't use slack, but I'll welcome a Slack update pull request.
New gifs are welcomed and encouraged. Check the existing ones, grab the gh-pages
branch of this repo, and submit a pull request to add one.