#11 Stripe API - Coupons, Currencies, gem money rails
Github Repo:
https://github.com/corsego/shoplify
Heroku Demo:
https://shoplify.herokuapp.com/
allow_promotion_codes for checkout
https://github.com/corsego/shoplify/commit/a094810ff35e8a9f14843fe5dbad2ec93a6b6d50
product can have prices with different currencies
https://github.com/corsego/shoplify/commit/4870b0175c62df9c53ce155faafb909d51d6fcab
gem money-rails
https://github.com/corsego/shoplify/commit/ecce80910b73451691a1ff6f847172deec87807c
0:00 Stripe Coupons and Promocodes
3:32 Currencies
12:29 gem money-rails
0
Featured in playlists
![#05 Stripe API - Pay Now Button with Stripe Checkout API](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTkyOSwicHVyIjoiYmxvYl9pZCJ9fQ==--2da52bf6cd329ad269d1e7ca15f5a9e3434282cc/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
![#06 Stripe API - Stripe with Devise, Create Stripe API records from Rails](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTkxMCwicHVyIjoiYmxvYl9pZCJ9fQ==--2f93a6713a1573238bca43c343581730c3f03101/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
![#07 Stripe API - Hijack Stripe Checkout Session, Payment Success URL](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTkyNSwicHVyIjoiYmxvYl9pZCJ9fQ==--a718db349c0c2468bf2a86c7550e08dde32af478/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
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/
Recommended based on what you are watching now
![#99 Hotwire: Search and Infinite Pagination (Ransack with Pagy)](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTkwNywicHVyIjoiYmxvYl9pZCJ9fQ==--9429f00bc1163e65ceabcba3d4b6c85def259b90/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
#99 Hotwire: Search and Infinite Pagination (Ransack with Pagy)
![#50 ActiveRecord Enum - when and why to use enums?](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MTc4MCwicHVyIjoiYmxvYl9pZCJ9fQ==--2a6b02b0df3a64670e0844087ff2a3851481c172/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--2d7cd3a4d9675c7f4c17dad7856d799792bd3595/maxresdefault.jpg)
#50 ActiveRecord Enum - when and why to use enums?
![Build a diff checker with database record version control](https://superails.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsiZGF0YSI6MjI4NCwicHVyIjoiYmxvYl9pZCJ9fQ==--81b82c2159f4b06a7ed6168049663c6f6e711f24/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJwbmciLCJyZXNpemVfdG9fbGltaXQiOls0MDAsNjAwXX0sInB1ciI6InZhcmlhdGlvbiJ9fQ==--34e5c9bac0ea93c87a890e274478a7e6bd659b29/169-diff-checker-version-control.png)