grace-period-handling

Automate SaaS subscription grace periods from past_due to unpaid with Stripe retries.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/marquesfelip/agents-and-skills --skill grace-period-handling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grace-period-handling
Source: https://github.com/marquesfelip/agents-and-skills/tree/main/skills/grace-period-handling
Command: npx skills add https://github.com/marquesfelip/agents-and-skills --skill grace-period-handling

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Grace period handling solves the challenge of maintaining user access during payment failures by defining a controlled window that allows continued service while payments retry in the background.

Core Features & Use Cases

  • Lifecycle management from past_due to unpaid with access during the grace period
  • Automated milestone emails at 7, 3, 1, and 0 days remaining
  • Stripe retry integration and dynamic grace end calculation
  • Access revocation enforcement when the grace period expires
  • Enterprise extension workflows and audit logging

Quick Start

Configure the grace period duration and trigger the start grace period flow when a subscription enters past_due.

Frequently Asked Questions about grace-period-handling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage a SaaS subscription grace period during Stripe payment failures?

Grace period management keeps subscriptions active during payment failures by applying a configurable window that allows continued access while Stripe retries past_due payments in the background. It automates transitions and access banners until expiry enforcement.

How do I automate past_due to unpaid subscription transitions with access control?

Automated past_due to unpaid transitions use a state machine to enforce access revocation when the grace period expires. This lifecycle management ensures users retain access during the grace window but lose it immediately upon expiry.

What's the best way to notify users before a subscription grace period expires?

Automated milestone emails notify users before a subscription grace period expires by sending scheduled reminders at 7, 3, 1, and 0 days remaining. This ensures users are warned to update their payment methods before access revocation.

Does this grace period handling workflow support enterprise extension scenarios?

Grace period handling supports enterprise extension scenarios through configurable workflows and audit-ready extension logging. This allows manual extensions for enterprise customers while maintaining a complete audit trail of all changes.

Can I dynamically calculate the grace period end date based on Stripe retry schedules?

Dynamic grace period end calculation integrates directly with Stripe retry schedules to adjust the expiry date automatically. This aligns the access revocation enforcement window with the actual payment retry attempts.

Why does Stripe subscription past_due state require a grace period instead of immediate cancellation?

A past_due state requires a grace period to prevent immediate service disruption from temporary payment hiccups. Allowing continued access while Stripe retries failed charges helps recover revenue and avoids churning users over transient failures.