Advanced Guide on stripe subscription: NextJS, Webhooks, NextAuth, Prisma

  Рет қаралды 8,191

thabish

thabish

Күн бұрын

Github Repo: github.com/Thabish-Kader/stri...
Repo implementation for DynamoDb: github.com/Thabish-Kader/stri...
Socials
LinkedIn: / thabish
Twitter: / developertak
Github: github.com/Thabish-Kader
0:00 what are we building ?
2:00 visualization of the final build
4:40 what are we working with ?
7:17 Prisma schema change
8:23 next auth config - createUser
10:43. next auth - callbacks
14:55 subscription function - frontend
18:54 subscription endpoint
25:03 demo of subscription
26:03 What is webhooks ?
26:30 createing webhooks locally
32:45 webhooks demo
34:15 subscription cancel endpoint
38:44 subscription cancel demo
40:15 final demo

Пікірлер: 13
@alowais900
@alowais900 7 ай бұрын
I usually never comment, but I had to this time! Thanks so much for your awesome Next.js and Stripe integration tutorial, Thabish! Your clear explanations and step-by-step guidance were a game-changer. If i may request, a potential idea to add to your backlog is a tutorial on Calendly API integration. Would love to hear your thoughts and opinions around token management with Prisma and a database? Your expertise would be a huge help. Keep up the great work! 👍😊
@Currychicken5
@Currychicken5 9 ай бұрын
You're a legend bro, good tutorial. I have little knowledge on backend but managed to make it work with supabase 🙏🙏🙏🙏🙏
@developertak
@developertak 9 ай бұрын
So happy to hear that.... Good luck on what you are building
@garvitkhulbe7896
@garvitkhulbe7896 16 сағат бұрын
whats session.user.subscriptionId in this? is this the id of the subscriptions which gets generated for each subscription automatically by mongo db aur its the priceId which is given by the stripe
@namanhacker1815
@namanhacker1815 10 ай бұрын
doing it broo
@developertak
@developertak 10 ай бұрын
Thanks!
@santiagogaleazzi8109
@santiagogaleazzi8109 7 ай бұрын
How to you get the user data on the session callback? Is this something done by the adaptar?
@developertak
@developertak 7 ай бұрын
There is a configuration for session callback specifically. If you checkout the documentation it shows you how. I am pretty sure we go over it in the video. Hope this helps. Good luck!
@mosesmwaura9467
@mosesmwaura9467 6 ай бұрын
How would I do this with Django though ? Hopefully you can make a video on that soon. That would be great!
@developertak
@developertak 5 ай бұрын
Haven't tried it with Django yet. But probably in the future
@faizansohail5855
@faizansohail5855 8 ай бұрын
Hello anyone please tell how to update package price and 2 things init 1) it should only apply for new users and old users will still get old price 2) prices should apply from next month for current user how to achieve that
@developertak
@developertak 8 ай бұрын
Am not too sure about the first one but the second one i go over the trial period its the same
@liu-river
@liu-river 7 ай бұрын
add a new price for new users? am I missing something
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
Мы играли всей семьей
00:27
Даша Боровик
Рет қаралды 3,9 МЛН
U0S3 - Understanding 'Off-the-job hours' (OTJ)
13:18
SparkyNinja Apprentice
Рет қаралды 2
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 166 М.
3D WEBSITE with THREEJS and GSAP
1:55
Washington maina
Рет қаралды 20 М.
Stripe Payments w/ Nextjs
12:15
Jeremy
Рет қаралды 10 М.
NextJS 13. Аутентификация и приватные роуты
33:59
Михаил Непомнящий
Рет қаралды 39 М.
This is why webhooks are important
7:59
Web Dev Cody
Рет қаралды 26 М.
Next.js Server Actions...  5 awesome things you can do
7:51
Beyond Fireship
Рет қаралды 245 М.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 172 М.
Build better payment forms using new “embedded” Stripe Checkout
6:04