Make It Rain
Get a random "make it rain" gif every time you get paid through Stripe.
Works with HipChat + Slack.
Current selection of gifs: https://fitztrev.github.io/make-it-rain/
Send pull requests to the gh-pages
branch to add more.
How to use
-
Copy
config.sample.php
toconfig.php
-
Update it with either your Hipchat or Slack 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 inconfig.php
and known only to Stripe so nobody can ping that URL and give you a false notification.
For Hipchat
- Go to https://hipchat.com/admin/rooms
- Click your room and copy "API ID" to the channel setting in
config.php
- In "Tokens" for that room, create a token with label "Just got paid" and copy it to
config.php
For Slack
- Go to https://my.slack.com/services/new/incoming-webhook
- Create a webhook for your desired channel
- Copy the webhook URL to
config.php
Contributing gifs
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.