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

  • @SupeRails
    @SupeRailsАй бұрын

    Adding Embedded Stripe Checkout is a very niche problem, but if you have it, this video should save you some time!

  • @MaksymNenashev
    @MaksymNenashevАй бұрын

    Thanks!

  • @SupeRails

    @SupeRails

    Ай бұрын

    You are welcome Max!

  • @rapfan353
    @rapfan353Ай бұрын

    How do you handle stripe coupons or discounts. Thank you for this video im building my first app with stripe in rails

  • @SupeRails

    @SupeRails

    Ай бұрын

    Easy! Inside "Stripe::Checkout::Session.create" add this line: allow_promotion_codes: true,