返回 Skill 列表
extension
分类: 开发与工程无需 API Key

commerce-subscriptions

管理订阅计划、计费周期和订阅。在运行`stateset-subscriptions`或更新订阅状态时使用。

person作者: jakexiaohubgithub

Commerce Subscriptions

Handle recurring billing plans and customer subscriptions.

How It Works

  1. Create or update subscription plans.
  2. Enroll customers and manage subscription status.
  3. Pause, resume, cancel, or skip billing cycles.
  4. Review billing history and events.

Usage

  • CLI: stateset-subscriptions ...
  • Writes require --apply.
  • MCP tools: create_subscription_plan, create_subscription, pause_subscription, resume_subscription, cancel_subscription, list_billing_cycles.

Output

{"status":"active","subscription_id":"sub_123","plan":"monthly"}

Present Results to User

  • Plan and subscription identifiers.
  • Billing interval and next charge date.
  • Any proration or cancellation details.

Troubleshooting

  • Plan archived: select an active plan.
  • Past due: review billing cycles and payment status.

References

  • references/subscriptions-flow.md
  • /home/dom/stateset-icommerce/cli/.claude/agents/subscriptions.md