What happens after a customer's card declines -- how to handle Stripe's retry webhooks, show a payment failure banner in your Next.js app, and send dunning emails with Resend before the subscription cancels.
Teachable, Podia, and Gumroad take 5-10% of every course sale you make -- here is how to build your own course platform with a Next.js SaaS boilerplate so you keep 100% of your revenue and own your student data forever.
How to let customers switch Stripe plans mid-cycle in a Next.js SaaS -- choosing the right proration behavior for upgrades vs downgrades, syncing the change to Drizzle ORM, and building the plan picker UI.
How to add coupon and promo code support to a Next.js SaaS -- validating codes against Stripe, passing them to Checkout, and logging every redemption in Drizzle ORM so you know which promotions actually convert.
Stop leaving money on the table with flat-rate pricing -- learn how to add metered, usage-based billing to your Next.js SaaS using Stripe Meters and Drizzle ORM so you earn more as your customers grow.
How to accept one-time payments in a Next.js SaaS using Stripe Checkout -- creating a session, handling the webhook, recording the purchase in Drizzle ORM, and gating features behind a paid check.