Webhooks from Stripe Billing Portal

Episode #461 by Teacher's Avatar David Kimura

Summary

In this episode, we dive into implementing Stripe Webhooks to manage subscription updates. By configuring webhooks and using Stripe CLI for local testing, we ensure our application can handle events like subscription cancellations and renewals efficiently, updating user statuses accordingly.
rails stripe payments webhooks 22:02

Chapters

  • Introduction (0:00)
  • Setting up the CLI (1:13)
  • Configuring the Stripe Events (3:56)
  • Handling Cancellations and Renewals (9:23)
  • Testing the Cancellation and Renewal (13:45)
  • Handle Charge Failed Events (15:01)
  • Handling a Charge Succeeded (20:16)
  • Final thoughts (21:32)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
Autumn Sale
$ 144 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams