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.