🧑💻 ALL the code: https://github.com/marclou/stripe-sub
Stripe subscriptions are a pain (API, webhook, lifecycle...).
But there's an easy way. And it requires a few dozen lines of code!
We'll build a monthly/yearly pricing table for a SaaS, and let customers subscribe and handle their subscriptions. The tech stack:
- React
- Tailwind
- NextJS (API endpoint for the webhook)
- Stripe Payment Link
- Stripe Customer Portal
🔗 All my 30+ startups — https://www.marclou.com
🧑💻 Learn to code in weeks, not months — https://codefa.st/?utm_source=youtube&utm_campaign=saas-guide
⚡️ Ship your startup in days, not weeks — https://shipfa.st/?utm_source=youtube&utm_campaign=saas-guide
📈 Grow your startup with actionable data — https://datafa.st/?utm_source=youtube&utm_campaign=saas-guide
💡 Newsletter for solopreneurs (20K readers) — https://marclou.beehiiv.com/
📸 Instagram — https://www.instagram.com/marclouvion/
💼 LinkedIn — https://www.linkedin.com/in/marclouvion/
🐦 Twitter — https://twitter.com/marc_louvion
00:00 - Intro
00:55 - Subscription 101
01:35 - Accepting payments
05:34 - Grant/revoke access
13:33 - Manage subscriptions
15:10 - Production setup
15:39 - Pre-signup checkout
16:01 - Thoughts on subscriptions...