Stripe Payments

This series focuses on taking online payments from individuals. Learn how to securely add payments into your application in a PCI Compliant fashion!
  • 3hr 4min
  • 7 Episodes
  • 3hr 4min Remaining
3hr 4min Remaining
  1. Stripe Billing Portal
    25:33 CC

    #460 Jun 9, 2024

    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.
    • 25min
    • 3
    • 3

  2. Webhooks from Stripe Billing Portal
    22:02 CC

    #461 Jun 16, 2024

    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.
    • 22min
    • 4
    • 1

  3. Shopping Cart with Turbo
    58:12 CC

    #334 Jan 30, 2022

    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.
    • 58min
    • 13
    • 12

  4. Shopping Cart Checkout
    26:31 CC

    #420 Sep 17, 2023

    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.
    • 26min
    • 1
    • 0

  5. Embedding Stripe Checkout
    19:11 CC

    #422 Oct 1, 2023

    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.
    • 19min
    • 4
    • 2

  6. Stripe Donations
    15:31 CC

    #362 Aug 14, 2022

    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.
    • 15min
    • 5
    • 1

  7. Testing Stripe Payments
    17:12 CC

    #261 Sep 27, 2020

    Continuing from the previous episode, we add testing to the Stripe Payments without adding any additional dependencies.
    • 17min
    • 6
    • 2