#10 Stripe API - Clear Cart after Checkout, edit Stripe Price
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
Featured in playlists
Build an app where user can add items (and choose quantity) to the shopping card and checkout by processing a payment via Stripe.
Also available on Udemy: https://www.udemy.com/course/complete-guide-to-payments-with-ruby-on-rails-stripe-api/