Stripe Embedded Checkout form

SdĂ­let
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...

Komentáƙe • 5

  • @MaksymNenashev
    @MaksymNenashev Pƙed 22 dny +1

    Thanks!

  • @SupeRails
    @SupeRails  Pƙed 20 dny

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

  • @rapfan353
    @rapfan353 Pƙed 22 dny +1

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

    • @SupeRails
      @SupeRails  Pƙed 20 dny

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