Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add note about example application to readme [ci skip]

  • Loading branch information...
commit 91b725761e90855f553a8237c20e3dad4736bcd7 1 parent f645cd7
Daniel Whalen authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
View
6 README.md
@@ -54,10 +54,14 @@ During development it may be useful to skip retrieving the event from Stripe, an
StripeEvent.event_retriever = Proc.new { |params| params }
```
-## Register webhook url with Stripe
+### Register webhook url with Stripe
![Setup webhook url](https://raw.github.com/integrallis/stripe_event/master/screenshots/dashboard-webhook.png "webhook setup")
+### Examples
+
+The [RailsApps](https://github.com/RailsApps) project by Daniel Kehoe has released an [example Rails 3.2 app](https://github.com/RailsApps/rails-stripe-membership-saas) with recurring billing using Stripe. The application uses stripe_event to handle `'customer.subscription.deleted'` events.
+
### Note: 'Test Webhooks' Button on Stripe Dashboard
This button sends an example event to your webhook urls, including an `id` of `evt_00000000000000`. To confirm that Stripe sent the webhook, stripe_event attempts to retrieve the event details from Stripe using the given `id`. In this case the event does not exist and stripe_event responds with `401 Unauthorized`. Instead of using the 'Test Webhooks' button, trigger webhooks by using the Stripe Dashboard to create test payments, customers, etc.
Please sign in to comment.
Something went wrong with that request. Please try again.