Stripe Embedded Checkout form
😖 I really dislike Stripe Elements: you have to build and style the checkout form yourself.
🤩 Instead, stripe-hosted full screen checkout is a much better approach where you outsource all the payment logic to Stripe. It looks great!
🥰🥰 But now you can use Embedded Stripe Checkout inside your app and keep your branding!
Let's implement Embedded Stripe Checkout in our app!
Text version: blog.corsego.com/embedded-str...
Episode source code: github.com/corsego/rails-7-st...
Series source code: github.com/corsego/rails-7-st...
Stripe embedded checkout API: docs.stripe.com/checkout/embe...
Stripe embedded checkout docs: docs.stripe.com/payments/acce...
Пікірлер: 5
Adding Embedded Stripe Checkout is a very niche problem, but if you have it, this video should save you some time!
Thanks!
@SupeRails
Ай бұрын
You are welcome Max!
How do you handle stripe coupons or discounts. Thank you for this video im building my first app with stripe in rails
@SupeRails
Ай бұрын
Easy! Inside "Stripe::Checkout::Session.create" add this line: allow_promotion_codes: true,