Subscription lifecycle
The provider owns subscription state; you mirror it via webhooks. Gate access on your local status, never on a checkout redirect.
What this skill helps you build
Mirror the billing provider's subscription status locally and gate access on it — a webhook-driven state machine for trialing, active, past_due, canceled, and incomplete.
The production takeaway
The provider owns subscription state; you mirror it via webhooks. Gate access on your local status, never on a checkout redirect.
Inside this skill
The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.
Unlock the full implementation
Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.