Back to the knowledge base

What’s up with webhooks?

Webhooks are used extensively at Stripe and are a great way to make sure your database is up to date with Stripe. They take care, amongst others, to let you know a trial is over (first charge of their credit card), a subscription is renewed or a charge has failed (after Stripe’s retried)—thus the subscription should be canceled. To test a webhooks locally you can use a service like https://ngrok.com, https://www.forwardhq.com or https://localtunnel.github.io/www/ (free).

A Rails SaaS starter kit to focus on your core product

Get started

20+ developers, companies and freelancers bought Sjabloon in the last 4 weeks