How I implement a credit systems using stripe
YT Chapters generated using:
▶️ Generate Chapters: https://ytchaptersgenerator.com/
00:00 - Setting up a credit system using Stripe
00:22 - Introducing the YT chaptersgenerator.com side project
01:06 - Generating timestamps for YouTube videos
01:48 - Walking through the code for the buy credits page
03:43 - Using Stripe to buy credits
04:12 - Setting up the Stripe webhook dashboard
05:01 - Handling webhook events from Stripe
06:54 - Updating user credits in the Prisma model
07:26 - Buying chapters and decrementing credits
08:39 - Conclusion and invitation to try the side project
📘 T3 Stack Tutorial: https://1017897100294.gumroad.com/l/jipjfm
🤖 SaaS I'm Building: https://www.icongeneratorai.com/
💬 Discord: https://discord.gg/4kGbBaa
🔔 Newsletter: https://newsletter.webdevcody.com/
📁 GitHub: https://github.com/webdevcody
📺 Twitch: https://www.twitch.tv/webdevcody
🤖 Website: https://webdevcody.com
🐦 Twitter: https://twitter.com/webdevcody