Stripe Subscriptions with Next.js - Full Course 2024

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 69

  • @asaprogrammer_
    @asaprogrammer_  4 місяці тому +26

    UA-cam algorithms don't like me :3 plz leave a like to support this content ❤

    • @arunarivanandam
      @arunarivanandam 3 місяці тому +1

      I had a same thought yesterday when i found your channel. your contents are great. Keep making awesome videos like these.

  • @harry4088
    @harry4088 4 місяці тому +11

    By now you have created a lot of course videos with clear explanation now i have a request could you create a complete guide on automated deployment using docker, kubernetes, jenkins etc

  • @ZeshanMukhtar1
    @ZeshanMukhtar1 4 місяці тому +2

    Congratulations for the graduation bro
    love from Pakistan

  • @mabuhaypinoy
    @mabuhaypinoy 15 годин тому

    Amazing videos. Subscribed! Thank you Sir

  • @SabirHussain-m5i5q
    @SabirHussain-m5i5q 3 місяці тому

    I love your content and your polite way of teaching everything. Everything is perfect. Much love from Pakistan!

  • @GKuul
    @GKuul День тому

    It is a really great video. really great. every clear explanation

  • @hatredguy
    @hatredguy 4 місяці тому

    Wow!! You are pumping out content daily! ❤

  • @AMIT-vm8hv
    @AMIT-vm8hv 4 місяці тому +1

    I bet you learn so much from teaching this stuff. I'm so envious.

    • @asaprogrammer_
      @asaprogrammer_  4 місяці тому +1

      It helps me to consolidate😄

    • @priyanshuganatra
      @priyanshuganatra 4 місяці тому

      Sir can you please make a redux toolkit tutorial with a Full-stack project in which it's used?

  • @xZhodiac
    @xZhodiac 3 місяці тому

    Followed whole tutorial, its helpful and if you want to integrate stripe to your code, you can follow along with little bit of customization of components.

    • @asaprogrammer_
      @asaprogrammer_  3 місяці тому +1

      Happy that it helped :)

    • @xZhodiac
      @xZhodiac 3 місяці тому

      ​ @asaprogrammer_ Yes, it helped a lot, right now I can charge customer and update database, which was the hardest part. So its good that you took time to create this video!
      here is also video that help me with stripe CLI, so you can put it into description.
      ua-cam.com/video/LUHeCvVFATU/v-deo.html
      It took me some time to find right one.
      Also I think that some libraries would be nice to know before people go to the project(tanstack, lucide...)
      BUT
      Overall video that I reccomend to anyone who wants to integrate stripe

    • @xZhodiac
      @xZhodiac 3 місяці тому

      Yes, it helped a lot, right now I can charge customer and update database, which was the hardest part. So its good that you took time to create this video!
      here is also video that help me with stripe CLI, so you can put it into description.
      ua-cam.com/video/LUHeCvVFATU/v-deo.html
      It took me some time to find right one.
      Also I think that some libraries would be nice to know before people go to the project(tanstack, lucide...)
      BUT
      Overall very good video for people who wants to integrate stripe

    • @asaprogrammer_
      @asaprogrammer_  3 місяці тому

      @@xZhodiac Added. Thanks for the suggestion

  • @AnasOso-be5fo
    @AnasOso-be5fo 3 місяці тому

    That cat persuaded me to subscribe, haha! 😺

  • @priyanshuganatra
    @priyanshuganatra 4 місяці тому

    I'll watch this when I learn next js for sure❤
    Sir can you please make a redux toolkit tutorial with a Full-stack project in which it's used?

  • @maximiulian2848
    @maximiulian2848 2 місяці тому +1

    Nice video. Very helpfull. Thanks for the detail explanation. Btw what are your thoughts on Nextjs-Auth?

  • @mlavinb
    @mlavinb 4 місяці тому

    Great project! thanks for sharing

  • @codewithrahull9636
    @codewithrahull9636 4 місяці тому

    Love this guy. Thanks btw!!

  • @rayusaki88
    @rayusaki88 2 місяці тому

    This is amazing tutorial. Thank you

  • @Marc-fj3kd
    @Marc-fj3kd 4 місяці тому

    Very good tutorial, thank you!

  • @viniciusmoreira5009
    @viniciusmoreira5009 4 місяці тому

    amazing content bro pls start bringing apps with docker compose also

  • @yantech.4249
    @yantech.4249 4 місяці тому

    This is amazing and big thanks for your work sir.

    • @asaprogrammer_
      @asaprogrammer_  4 місяці тому

      Glad you like it!

    • @priyanshuganatra
      @priyanshuganatra 4 місяці тому

      ​@@asaprogrammer_Sir can you please make a redux toolkit tutorial with a Full-stack project in which it's used?

  • @GrzegorzLenczuk
    @GrzegorzLenczuk 2 місяці тому +1

    What if user submit different email than the one in database? You will not connect correct user with payment/subscription. That's why I prefer and I think it is safer to create customer via stripe package and checkout session also.

  • @Suresh-iu2tx
    @Suresh-iu2tx 4 місяці тому

    Thnx fort this content ❤

  • @mohammadzeyghami
    @mohammadzeyghami 4 місяці тому +1

    damet garm mashtiii

  • @Raghav_Bajpai_
    @Raghav_Bajpai_ 4 місяці тому

    Zoom Clone using MERN Stack 🚀🔥

  • @AdolfRizzler41
    @AdolfRizzler41 4 місяці тому +1

    Need these type of videos

  • @AndyDev404
    @AndyDev404 4 місяці тому

    Thanks! keep going

  • @shubhamupadhyay3174
    @shubhamupadhyay3174 4 місяці тому

    Very helpful❤❤❤

  • @angjaelos
    @angjaelos 2 місяці тому

    Hi there, amazing tutorial but I noticed there's a bug when the user tries to login/register (not using Google Account), it doesn't redirect to the payment page. Took me 10 mins to realise, don't know if anybody faces similar issues

  • @roshan4348
    @roshan4348 4 місяці тому

    still waiting for socket implementation in your snap-next video. Please release it soon.

  • @pesadillateileche
    @pesadillateileche 4 місяці тому

    Could you make a tutorial of PayPal Subscriptions too?

  • @redbeardjunior
    @redbeardjunior 21 день тому

    I have a question how about Subscription those are not deleted, looks like it on my end.

  • @vilokmasuti4772
    @vilokmasuti4772 4 місяці тому

    ❤❤❤❤🎉 0:28

  • @snbwcs
    @snbwcs 4 місяці тому

    Hey, first, thanks for this video, this is great content!
    I have one question : what happens after 1 month of subscriptions if the user chose not to renew ?
    Does the field "premium" gets updated in the database ? If yes, how ?

    • @asaprogrammer_
      @asaprogrammer_  4 місяці тому +1

      Yes, it would be updated to "free" plan. How: Stripe will send us an event saying this subscription expired, then we will update the db. Also explained in the tutorial :)

    • @snbwcs
      @snbwcs 4 місяці тому

      @@asaprogrammer_ Thanks for the quick answer !
      I will watch the tutorial more in-depth. :)

    • @snbwcs
      @snbwcs 4 місяці тому

      @@asaprogrammer_ What if our server is down when the webhook sends the subscription ended request ?
      Will Stripe try again later ?

  • @sanjaydotpro
    @sanjaydotpro Місяць тому

    What if a registered user enters a different email in stripe payment page?

  • @ayansarkar6322
    @ayansarkar6322 10 днів тому

    On npm run dev when I am clicking on the buy now button it's redirecting me to payment link, but after doing npm run build and then start when I am clicking on the buy now it's redirecting me to "/" route even if I am logged in. Can you tell me what should I do to fix the issue? The page.tsx is same as yours.

  • @marccondon4136
    @marccondon4136 18 днів тому

    Raw query failed. Code: `unknown`. Message: `Kind: Server selection timeout: No available servers.
    You have a dynamic IP address and have to add your new ip to the MongoDB firewall

  • @aconime
    @aconime 2 місяці тому

    What if a user is registered with one email uses an alt email for the checkout, how will the webhook know who the user is?
    I'm sure relying on users inputting correct data without checking is not a good idea as 99% of the time users will not input the expected data needed for the logic. And none-the-less users should be able to rely on systems we build to be validated and let them know.
    There surely has to be a way to make it so that the checkout button can pass additional information to our webhook, e.g. userId. Anyone know how?

  • @myhendry
    @myhendry Місяць тому

    if the user cancels his subscription, shouldn't the user be entitled to use the premium service until after his subscription ended?

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 4 місяці тому

    wow nice proyecto

  • @ZeshanMukhtar1
    @ZeshanMukhtar1 4 місяці тому

    wallpaper link ?

  • @hey_you_123
    @hey_you_123 2 місяці тому

    Most of the auth libraries has sign in methods where you can pass the callback url after login, I think is not neccessary all this localstorage logic

    • @shubhtalk7073
      @shubhtalk7073 2 місяці тому

      Brother can we use strips for free or is it paid

  • @Anurag-lz8nz
    @Anurag-lz8nz 4 місяці тому

    ❤❤❤❤

  • @waleed42ahmad
    @waleed42ahmad 4 місяці тому

    I am from Pakistan how can I create stripe account they r not showing option

  • @shakir0x00
    @shakir0x00 4 місяці тому +2

    nxt js course?/

  • @xingshenglim1268
    @xingshenglim1268 Місяць тому

    I can't connect MongoDB, help me please, I am win 11 user
    Error: MongoDB error Kind: An error occurred during DNS resolution: proto error: io error: A socket operation was attempted to an unreachable network. (os error 10051), labels: {} 0: schema_core::commands::schema_push::Calculate from at schema-engine\core\src\commands\schema_push.rs:27 1: schema_core::state::SchemaPush at schema-engine\core\src\state.rs:504

    • @richdadradio
      @richdadradio Місяць тому

      You need to add your IP address in the MongoDB Dashboard under : Network Access -> Add IP Address

  • @smartdriver2990
    @smartdriver2990 4 місяці тому

    Like and comment on awesome video🎉

  • @branmuller
    @branmuller 2 місяці тому

    Holy crap man good tutorial but that route.ts webhook route really needs to be cleaned up and a lot of it put into functions

    • @asaprogrammer_
      @asaprogrammer_  2 місяці тому +1

      Agreed, but in the tutorial it makes sense to put everything in one function so it is easier to read

  • @greeneryman
    @greeneryman 2 місяці тому

    10:11

  • @MuhammadZainNasrullah
    @MuhammadZainNasrullah 4 місяці тому

    i know you are jan marshal follower

  • @l.e.nichols9382
    @l.e.nichols9382 Місяць тому

    Error /webhooks/stripe/route.ts i get "No such checkout.session: cs_test_a18RWc1PvQ2pmc9B4Jxl4yLEjke7ION3ODjB0ttp7Fdyf0JhlWypIaWZVa"