Stripe Embedded Checkout form
VloĆŸit
- Äas pĆidĂĄn 26. 04. 2024
- đ 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...
Thanks!
You are welcome Max!
Adding Embedded Stripe Checkout is a very niche problem, but if you have it, this video should save you some time!
How do you handle stripe coupons or discounts. Thank you for this video im building my first app with stripe in rails
Easy! Inside "Stripe::Checkout::Session.create" add this line:
allow_promotion_codes: true,