payments
1
总安装量
1
周安装量
#45581
全站排名
安装命令
npx skills add https://github.com/sailscastshq/boring-stack --skill payments
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
github-copilot
1
claude-code
1
Skill 文档
Payments
The Boring JavaScript Stack uses sails-pay with Lemon Squeezy as the payment provider. The Ascent templates include a complete billing system with plan-based subscriptions, checkout flows, webhook handling, and customer portal integration.
When to Use
Use this skill when:
- Configuring
sails-payinconfig/pay.js(provider, plans, variants) - Implementing checkout flows with
sails.pay.checkout() - Managing subscriptions (Subscription model, status lifecycle)
- Handling Lemon Squeezy webhooks (signature verification, event processing)
- Building billing settings pages with plan information
- Checking subscription status with the
checkPlanhelper - Integrating Lemon Squeezy’s hosted customer portal
Rules
Read individual rule files for detailed explanations and code examples:
- rules/getting-started.md – sails-pay hook, config/pay.js, Lemon Squeezy setup, Subscription model
- rules/checkout.md – Checkout flow, sails.pay.checkout(), variant selection, custom data
- rules/subscriptions.md – Subscription model, status management, checkPlan helper, billing page
- rules/webhooks.md – Webhook controller, signature verification, event handling, idempotency
- rules/customer-portal.md – Lemon Squeezy hosted portal, subscription management URLs