Ruby on Rails #6 Stripe API - Stripe with Devise, Create Stripe API records from Rails

24/03/2021 (about 3 years ago)

Github Repo:
Heroku Demo:

install gem devise
user is assigned stripe_customer_id after create
assign checkout to current_user.stripe_customer_id
add stripe_product_id to products
add stripe_price_id to products, checkout session for specific product
skip devise authentication for webhooks controller

0:00 Introduction
4:22 Install Gem Devise
8:02 Associate User to Stripe Customer
14:15 Associate User to Stripe Checkout Session
17:50 Associate Products with Stripe Products,
28:08 Associate Products with Stripe Prices, Checkout for specific Price
36:13 Update Webhooks to work with Devise

Sign in to join the conversation