saas-billing-stripe
Installation
SKILL.md
SaaS Billing with Stripe
The default for a new SaaS is a server-created Stripe Checkout Session in subscription mode.
It gives you recurring billing, authentication, taxes, and hosted checkout with less code. Stripe
recommends Checkout Sessions for most integrations. Checkout Sessions API
For pricing strategy, read regional-pricing-stripe. Do not
re-teach PPP, currency tiers, or tax_behavior here.
1. Choose the checkout surface
Checkout Session: default for a new SaaS
Create the Session on the server, then redirect the browser to its Stripe-hosted url. Use
POST /v1/checkout/sessions with mode=subscription and a server-selected recurring Price in
line_items. Set success_url for the return path. Checkout Session API reference