一键导入
stripe-setup
Auto-configure Stripe webhooks for affiliate sale tracking via CLI OAuth flow. Triggers on "stripe setup", "webhook setup", "stripe integration".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Auto-configure Stripe webhooks for affiliate sale tracking via CLI OAuth flow. Triggers on "stripe setup", "webhook setup", "stripe integration".
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Install the Affitor tracker to capture affiliate clicks and store attribution cookies. Triggers on "add affiliate tracking", "install tracker", "click tracking".
Track sales and revenue for affiliate commission attribution via Sale API or Stripe metadata. Triggers on "track sales", "payment tracking", "commission tracking".
Track user signups for affiliate attribution via browser helper or server-side lead API. Triggers on "track signups", "lead tracking", "affiliate signup".
Verify Affitor tracking pipeline end-to-end with CLI test commands. Triggers on "test tracking", "verify integration", "test affitor".
| name | stripe-setup |
| description | Auto-configure Stripe webhooks for affiliate sale tracking via CLI OAuth flow. Triggers on "stripe setup", "webhook setup", "stripe integration". |
| license | MIT |
| metadata | {"author":"affitor","version":"1.0.0","organization":"Affitor"} |
Connect your Stripe account to Affitor with a single command. Automatically configures webhooks for payment tracking.
npx affitor setup stripe
This command:
The CLI creates a webhook endpoint that listens for:
| Event | Purpose |
|---|---|
customer.created | New customer attribution |
checkout.session.completed | One-time payment tracking |
invoice.paid | Subscription payment tracking |
invoice.payment_failed | Failed payment handling |
charge.refunded | Refund processing |
customer.subscription.deleted | Churn tracking |
npx affitor init first (creates your program).affitor/config.json must exist in your projectVerify the connection:
npx affitor status
Test a sale event:
npx affitor test sale
You can also verify in your Stripe Dashboard under Developers → Webhooks — you should see the Affitor endpoint listed.
If you prefer not to use OAuth, you can add Stripe metadata manually instead. See the sale-tracking skill for the metadata approach.