Stripe Subscriptions with Rails 7

Sdílet
Vložit
  • čas přidán 8. 09. 2023
  • Previously I did a series on making Stripe subscriptions work with a Rails 6 app: superails.com/playlists/strip...
    Now, let's make install Stripe and make subscriptions work from zero on a Rails 7 app!
    Episode source code: github.com/corsego/rails-7-st...
    Series source code: github.com/corsego/rails-7-st...
    Stripe gem: github.com/stripe/stripe-ruby
    Stripe docs: stripe.com/docs/billing/quick...

Komentáře • 12

  • @haroldpepete
    @haroldpepete Před měsícem

    awesome video, it will be really helpful if after the subscription the user id was updated using a broadcast from the backend and the user wouldn't have to refresh manually

  • @nelsonchavespro
    @nelsonchavespro Před 4 měsíci

    My CZcams mentor! Thanks for making these!

  • @gosseynx
    @gosseynx Před 6 měsíci +1

    Nice one again ! With this you don't need to use the gem pay (which IMHO makes things harder to manage if you just use Stripe)

  • @LucianGhindaDevAcademy
    @LucianGhindaDevAcademy Před 8 měsíci

    Great video like always! Would love to see a video also about LemonSqueezy :)

  • @njongefred
    @njongefred Před 7 měsíci +1

    Amazing work ❤

  • @n-at-han-k
    @n-at-han-k Před 4 měsíci

    I’ve always noticed that the stripe dashboard takes ages to load and sometimes needs reloading before it shows. I suppose they put all of their resources into processing payments and don’t really give a fuk about anything else. 41:30

  • @LuisFernandoPimenta
    @LuisFernandoPimenta Před 8 měsíci

    Very good!

  • @AhmedNadar
    @AhmedNadar Před 8 měsíci

    Nice work as usual Yaro :)
    Look forward for more Stripe videos. Building on top of this video, can we create different plans for features? Such as Standard Plans allow view 10 post only. Pro plan view 50 posts only. unlimited plan views all post, can comment, can see author email or social media contact.? How easy is is? Any plan to make a video about the topic?

  • @fatihtas88
    @fatihtas88 Před 5 měsíci

    Hi, great video thanks.
    however, i find the flow of this subscription wrong.
    1. you can subscribe to yearly, cancelled it. and then switch to monthly. and then cancelled it. What happens? customer is paid 190+0 usd and after cancellation he did not get any refund.
    So, implementing an automatic refund is a must indeed, especially when stripe is banning accounts for disputes.
    Additionally, once you cancelled monthly, resubscribed, cancelled again, and then want to buy yearly within the same day. you have to pay the difference. So somehow, even though day has not passed, you got the money and encouraged customer to open a dispute etc..
    (you can have a lifetime membership and still can get monthly on top of it etc. Of course in reality people won't do it that much but once they do, it is a valid dispute reason)
    I believe auto cancellation and refund must be an integral part of any subscription integration to prevent disputes.. Of course this would take longer to implement, but i believe this would be a great follow up video.
    If you have any resources to prevent such cases please let me know
    Thanks a lot

  • @nicolasecm
    @nicolasecm Před 8 měsíci

    Thanks for the content, if you can create a video to connect PayPal with Rails 7, it would be very good

  • @keniaruiz8300
    @keniaruiz8300 Před 5 měsíci

    I get Completed 401 on webhooks, any ideas?