subscription-billing

Automate recurring subscription billing, failed payment recovery, and prorated plan changes via Stripe APIs.

14|3|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-skills-hub --skill subscription-billing-tomtoto757
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription-billing
Source: https://github.com/tomtoto757/ecomm-ai-skills-hub/tree/main/skills/checkout-payments-tax/finsilabs/payments-checkout/subscription-billing
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-skills-hub --skill subscription-billing-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subscription Billing centralizes and automates recurring payments, failed payment recovery, plan upgrades/downgrades with correct proration, and self-serve cancellations so merchants stop losing revenue to manual processes and billing edge cases.

Core Features & Use Cases

  • Recurring Billing Lifecycle: Configure and manage recurring charges, trials, and subscriber discounts using platform-native tools or Stripe Subscriptions for headless setups.
  • Dunning & Recovery: Implement escalating retry schedules and contextual recovery emails keyed to invoice.attempt_count to minimize involuntary churn.
  • Plan Changes & Proration: Preview proration with upcoming-invoice APIs and apply upgrades immediately while scheduling downgrades for period end to avoid unexpected refunds.
  • Webhooks & DB Sync: Keep subscription state in your database via webhook handlers (invoice.payment_failed, customer.subscription.deleted, etc.) to avoid live Stripe calls on every request.
  • Use Case: Replace manual subscription spreadsheets by hooking Recharge (Shopify) or Stripe Subscriptions into your app, automating retries, customer portals, and access revocation on cancellation.

Quick Start

Set up a monthly Stripe subscription for a customer with a 14-day trial, return the client_secret for any required 3DS confirmation, and persist the subscription record to your database.

Frequently Asked Questions about subscription-billing

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

FAQPage Schema
How do I automate recurring billing and failed payment recovery in Stripe?

Automate recurring billing by implementing Stripe Subscriptions with webhook handlers for invoice events and dunning retry logic keyed to invoice.attempt_count to recover failed payments and reduce involuntary churn.

How do I handle subscription plan changes with proration to avoid unexpected refunds?

Handle subscription plan changes with proration by previewing costs with upcoming-invoice APIs, applying upgrades immediately, and scheduling downgrades for the period end to ensure accurate billing without unexpected refunds.

Can I use webhooks to sync Stripe subscription state into a local database?

Yes, you can sync subscription state into a local database via webhook handlers for events like invoice.payment_failed and customer.subscription.deleted, avoiding live Stripe calls on every request.

Does this subscription billing automation work with Shopify and WooCommerce?

Yes, this subscription billing automation works with Shopify, WooCommerce, BigCommerce, and custom headless storefronts by implementing platform-native subscription APIs or Stripe Subscriptions with webhook-driven database sync.

How do I set up a Stripe subscription with a trial period and 3DS confirmation?

Set up a monthly Stripe subscription with a 14-day trial by returning the client_secret for required 3DS confirmation and persisting the subscription record to your database.