In this episode, we revisit embedding Stripe, now that it's out of beta, and demonstrate how to integrate it seamlessly into your Rails application. We explore setting up Stripe for handling subscriptions, including a hosted management page where users can view invoices, change plans, or cancel subscriptions.
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.
Shopping carts can be extremely complex as there are many moving parts involved. In this episode, we'll look at some of the considerations when adding this feature and build this implementation in Hotwire.
Continuing on from Episode 334, we look at creating the rest of the functionality of our shopping cart. We look at creating the checkout page with Stripe and handling the webhooks when a checkout session has been completed.
Stripe Checkout is one of my favorite ways to handle payments in Ruby on Rails applications. Stripe Checkouts will soon have an option to embed the Checkout into your web application. In this episode, we'll look at implementing this feature with a StimulusJS controller.
In this episode, we look at two different ways to handle donations with Stripe. The first method is a "no code" way that would work on any website that may not have a backend. The second method, we use the Stripe gem and their API to create a Checkout session for handling donations.