Github Repo:
https://github.com/corsego/shoplify
Heroku Demo:
https://shoplify.herokuapp.com/
install gem devise
https://github.com/corsego/shoplify/commit/895542c432e38a30270cdefb7c92ab6fbcdc6481
user is assigned stripe_customer_id after create
https://github.com/corsego/shoplify/commit/5ede7fd7080ae5f68efcfcce47b50acaed289d15
assign checkout to current_user.stripe_customer_id
https://github.com/corsego/shoplify/commit/5f847af0a9fdad8a022a56df2b03f5ca9ee460d9
add stripe_product_id to products
https://github.com/corsego/shoplify/commit/8d9fa78420534c71fc3255d496637d35615fd114
add stripe_price_id to products, checkout session for specific product
https://github.com/corsego/shoplify/commit/5e786e2e2e1f079907c0f749362932b25f976457
skip devise authentication for webhooks controller
https://github.com/corsego/shoplify/commit/35a98719a848b54465482094cb89f460d22c626a
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
0