Ruby on Rails #10 Stripe API - Clear Cart after Checkout, edit Stripe Price

30/03/2021 (about 3 years ago)
screencast

Github Repo:
https://github.com/corsego/shoplify
Heroku Demo:
https://shoplify.herokuapp.com/​

if product price is updated - create new stripe price and assing to product
https://github.com/corsego/shoplify/commit/a43e7c88661becede21d76eb2f4af400cf8d64f9
empty cart after successful transaction
https://github.com/corsego/shoplify/commit/c19566ef5b1c4c0a2eaf99475c5e688fb08f302b

0:00 clear Shopping Cart after Checkout
2:19 display checkout success only if session_id is present
4:11 display items purchased on success page
6:58 when local product price changes - create new Stripe Price and associate it with local product


0
Sign in to join the conversation