SKILL-032 Billing and monetization Locked skill

Failed payments and dunning

A failed payment is a temporary state, not a verdict — give it a grace period and an easy update-card path before you ever restrict access.

01

What this skill helps you build

Handle a declined charge gracefully — a grace period, a retry/notification ladder, and a soft restriction that recovers cleanly the moment payment succeeds.

The production takeaway

A failed payment is a temporary state, not a verdict — give it a grace period and an easy update-card path before you ever restrict access.

02

Inside this skill

The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.

Billing and monetization
What this helps you build

A dunning flow: the sequence that runs when a subscription payment fails. Instead of instantly cutting off a paying customer over an expired card, you move them into a past due sta

🔒
Billing and monetization
When to use this

Use this any time you charge customers on a recurring basis and a charge can fail after they were already an active, paying customer. That covers nearly every subscription SaaS. Co

🔒
Billing and monetization
The core idea

A failed payment is a temporary state , not an immediate cancellation. The moment a charge fails, the subscription enters past due and a clock starts: grace until . During that win

🔒
03

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.