stripe-handler
构建自定义 Stripe 支付流程
自定义支付流程需要谨慎处理结账、webhook 和履约逻辑。此技能会指导用于非标准购买的 Stripe sessions、metadata 路由和后台处理。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "stripe-handler" from https://skillstore.io/skills/aayushbaniya2006-stripe-handler.md and its manifest at https://skillstore.io/api/skills/aayushbaniya2006-stripe-handler/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“stripe-handler”。 用户需要一次性数字课程购买流程。
预期结果:
推荐包含 metadata、webhook 路由和订单履约步骤的自定义结账流程。
正在使用“stripe-handler”。 某个 webhook 可能耗时超过 Stripe 允许的时间。
预期结果:
建议使用 Inngest 交接,快速确认 Stripe 请求,并在后台完成履约。
正在使用“stripe-handler”。 自定义服务支付不应使用套餐计费。
预期结果:
通过专用结账路由和自定义 metadata type,与订阅 handlers 明确分离。
安全审计
安全The static hits are false positives caused by Markdown inline code, TypeScript template literals, and documented Stripe setup examples. No prompt injection, credential exfiltration, malicious command execution, or business-logic abuse intent was found in SKILL.md or reference.md.
风险因素
⚙️ 外部命令 (27)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/aayushbaniya2006-stripe-handler/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/aayushbaniya2006-stripe-handler?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/aayushbaniya2006-stripe-handler?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/aayushbaniya2006-stripe-handler/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/aayushbaniya2006-stripe-handler.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
AayushBaniya2006. (2026). stripe-handler security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/aayushbaniya2006-stripe-handler/audits/9BibTeX 引用
@techreport{aayushbaniya2006-aayushbaniya2006-stripe-handler-2026,
author = {AayushBaniya2006},
title = {stripe-handler security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/aayushbaniya2006-stripe-handler/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "stripe-handler security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "AayushBaniya2006"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/aayushbaniya2006-stripe-handler/audits/9"
identifiers:
- type: other
value: "skillstore:aayushbaniya2006-stripe-handler:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
销售数字产品
添加一次性 Stripe 结账,并通过 webhooks 完成访问权限开通。
处理自定义服务
为套餐或积分包之外的服务收取付款。
将履约移至后台任务
将 webhook 工作发送到 Inngest,使 Stripe 响应保持快速。
试试这些提示
使用 stripe-handler 规划一次性课程购买。列出要更改的文件和要包含的 checkout metadata。
使用 stripe-handler 设计用于自定义服务支付的服务器路由。包括 session mode、line items、success URL 和 cancel URL。
使用 stripe-handler 更新自定义产品的 Stripe webhook。按 metadata.type 路由,并描述履约操作。
使用 stripe-handler 设计幂等的 Inngest 履约流水线。包括重复处理、邮件确认和故障恢复。
最佳实践
- 使用 metadata 将自定义购买与标准套餐和积分区分开。
- 保持 webhook handlers 快速,并将较慢的工作移至 Inngest。
- 在授予产品或服务访问权限之前,使履约具备幂等性。
避免
- 不要将此技能用于普通订阅套餐处理。
- 不要在验证已完成的 Stripe webhook 之前授予访问权限。
- 不要将真实的 Stripe 密钥放入 prompts、示例或已提交的文件中。
常见问题
我应该什么时候使用此技能?
它会替代 plans-handler 吗?
它提供可运行代码吗?
它能帮助处理 webhooks 吗?
必须使用 Inngest 吗?
我应该如何在本地测试?
开发者详情
许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
c1fdca50ff516318f65fed0d7f9e82797c5171dc
维护新鲜度
2026/7/26
使用量
8 次下载 · 189 次浏览
文件结构
📄 SKILL.md