The EASY way to set recurring payments (Stripe subscriptions)
🧑💻 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 startups — https://www.marclou.com
⚡️ Ship your startup in days, not weeks — https://shipfa.st/
💡 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...