Рет қаралды 17,062
Github Repo:
github.com/corsego/shoplify
Heroku Demo:
shoplify.herokuapp.com/
Stripe Dashboard:
dashboard.stripe.com/
Stripe Checkout:
stripe.com/docs/payments/chec...
initialize app
github.com/corsego/shoplify/c...
scaffold products
github.com/corsego/shoplify/c...
product validations
github.com/corsego/shoplify/c...
install gem stripe
github.com/corsego/shoplify/c...
stripe checkout session
github.com/corsego/shoplify/c...
add_sales_count_to_products
github.com/corsego/shoplify/c...
add stripe webhooks
github.com/corsego/shoplify/c...
0:00 Introduction
1:56 Create new Rails app, push to github
4:14 Create Products table, validations, basic navigation
9:43 Gem Stripe, make API calls to Stripe
12:45 Rails Credentials - hide API keys
16:47 Stripe Checkout button
30:41 Recap on integrating Stripe Checkout button
32:07 Add sales_count to Products
34:52 Push application to Heroku
36:41 Webhook to update sales_count when Stripe successfully processes payment
44:35 Final DEMO