Isaac Foster

Stripe Best Practices

商业运营v1.0.0
作者:Isaac Foster更新于 2026-05-11stripe-best-practices@clawhub_ifoster01/stripe-best-practices
电商运营#Payment

据 AlphaMoat 统计,截至 2026-09,Stripe Best Practices 累计下载 3,459 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 3,208 位,在「商业运营」分类(297 个)中排名第 176 位。

累计安装
106
累计下载
3,459
星标
1
全站排名
#3,208
全站前 64% · 「商业运营」前 60%
平台累计安装累计下载星标评论
ClawHub ↗1063,4591-
SkillHub ↗1043,3691—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文汇总了集成选型偏好与限制,例如按场景选择 Checkout、PaymentIntents、Billing 或 Connect 流程,并提醒原始卡号处理涉及 PCI 合规要求。该内容属于集成指导,不代表获准访问真实支付数据或修改 Stripe 账户。实施前应依据官方文档和当前 API 版本复核方案;涉及实时资金、卡号或账户变更时须另行取得相应授权。

资料发布于 2026-10-29

可以用来做什么

  • 比较 Stripe Checkout、PaymentIntents 和 Billing 集成路径
  • 检查 Connect 模式与支付流程选择
  • 审查涉及原始卡号数据的合规要求

什么时候用

  • 用户正在设计或审查 Stripe 集成时
  • 有明确的支付类型和产品流程背景时
  • 触及实时支付数据、账户变更或卡号时能够先核对授权与合规时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

按订阅场景比较 Stripe Billing 与 Checkout 的设计选项,不操作账户
检查方案是否涉及原始卡号并列出合规复核项
起草集成建议并要求实施前核对最新官方文档

月度数据趋势

累计下载3,459
1,9042,7393,5742026-03 · 累计下载 2,0192026-05 · 累计下载 2,5562026-06 · 累计下载 2,7422026-07 · 累计下载 3,1272026-08 · 累计下载 3,3132026-09 · 累计下载 3,45926-0326-09
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,459—1
2026-083,313+5.9%1
2026-073,127+14.0%1
2026-062,742+7.3%1
2026-052,556—1
2026-032,019—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.1 KB · ClawHub v1.0.0
---
name: stripe-best-practices
description: Best practices for building Stripe payment integrations
metadata:
  version: "245b3bbb"
  type: knowledge
  format: uasp
---

# Stripe Best Practices
展开全部(共 76 行)

Best practices for building Stripe payment integrations

## Keywords

stripe, payment, checkout, subscription, billing

## Intents

- integrate payment processing
- handle subscriptions
- process credit cards

## Constraints

### Never

- Charges API
- Sources API
- Card Element
- Payment Element in card-only mode
- Tokens API (unless specific need)
- mixing Connect charge types
- legacy Connect terms (Standard/Express/Custom)

### Always

- latest API/SDK version (unless specified otherwise)
- advise PCI compliance proof for raw PAN handling
- use controller properties for Connect (not legacy terms)

### Preferences

- Prefer **CheckoutSessions** over PaymentIntents when on-session payments
- Prefer **Stripe-hosted Checkout** over embedded Checkout when default choice
- Prefer **embedded Checkout** over Payment Element when more control needed
- Prefer **dynamic payment methods** over explicit payment_method_types when using Payment Element
- Prefer **SetupIntents** over Sources when saving payment methods
- Prefer **Confirmation Tokens** over createPaymentMethod/createToken when inspecting card before payment
- Prefer **Billing APIs** over raw PaymentIntents when subscriptions/recurring
- Prefer **direct charges** over destination charges when platform wants Stripe to take risk
- Prefer **destination charges** over direct charges when platform accepts liability

## Decisions

- **When** user wants Charges API: advise migration to CheckoutSessions or PaymentIntents
- **When** user wants Card Element: advise migration to Payment Element
- **When** recurring revenue / subscription / SaaS: recommend Billing APIs + Checkout frontend
- **When** platform / marketplace / Connect: follow integration recommendations, use controller properties
- **When** migrating PAN data from another processor: point to migration process
- **When** render Payment Element before creating intent: use Confirmation Tokens

## References

- [stripe:integration-options](https://docs.stripe.com/payments/payment-methods/integration-options) - primary integration design reference
- [stripe:api-tour](https://docs.stripe.com/payments-api/tour) - API overview
- [stripe:go-live](https://docs.stripe.com/get-started/checklist/go-live) - pre-launch checklist
- [stripe:migration/charges](https://docs.stripe.com/payments/payment-intents/migration/charges) - Charges to PaymentIntents migration
- [stripe:migration/payment-element](https://docs.stripe.com/payments/payment-element/migration) - Card Element to Payment Element migration
- [stripe:billing/design-integration](https://docs.stripe.com/billing/subscriptions/designing-integration) - subscription integration planning
- [stripe:connect/recommendations](https://docs.stripe.com/connect/integration-recommendations) - Connect charge type selection
- [stripe:pan-import](https://docs.stripe.com/get-started/data-migrations/pan-import) - PAN data migration

---

*Converted from UASP format (knowledge skill)*

「商业运营」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。