Skip to content

fitztrev/make-it-rain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Make It Rain

Get a random "make it rain" gif every time you get paid through Stripe.

Works with HipChat + Slack.

screenshot

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

  1. Copy config.sample.php to config.php

  2. Update it with either your Hipchat or Slack API info (see below)

  3. Add a webhook to your Stripe account

    https://YOUR_SITE_HERE.com/make-it-rain/webhook.php?secret=abc123

  • Your secret is set in config.php and known only to Stripe so nobody can ping that URL and give you a false notification.

For Hipchat

  1. Go to https://hipchat.com/admin/rooms
  2. Click your room and copy "API ID" to the channel setting in config.php
  3. In "Tokens" for that room, create a token with label "Just got paid" and copy it to config.php

For Slack

  1. Go to https://my.slack.com/services/new/incoming-webhook
  2. Create a webhook for your desired channel
  3. 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.

About

Animated gif notifications whenever you get paid through Stripe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages