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

30/03/2021 (about 3 years ago)

Github Repo:
Heroku Demo:​

if product price is updated - create new stripe price and assing to product
empty cart after successful transaction

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

Sign in to join the conversation