·integrating-stripe-webhooks
</>

integrating-stripe-webhooks

pr-pm/prpm

在实现 Stripe webhook 端点并收到“原始正文不可用”或签名验证错误时使用 - 提供跨框架的原始正文解析解决方案和订阅期字段修复

0安装·0热度·@pr-pm

安装

$npx skills add https://github.com/pr-pm/prpm --skill integrating-stripe-webhooks

SKILL.md

Stripe webhooks require raw request bodies for signature verification. Most web frameworks parse JSON automatically, breaking verification. This skill provides framework-specific solutions for the raw body problem and documents common TypeScript type mismatches.

| Raw body not available | Configure custom body parser (see framework examples) | | Signature verification fails | Use raw body bytes/buffer, not parsed JSON | | 404 on webhook endpoint | Register webhook route inside API prefix | | currentperiodstart undefined | Access from subscription.items.data[0] not root |

| URI validation errors | URL-encode dynamic parameters with encodeURIComponent() |

在实现 Stripe webhook 端点并收到“原始正文不可用”或签名验证错误时使用 - 提供跨框架的原始正文解析解决方案和订阅期字段修复 来源:pr-pm/prpm。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/pr-pm/prpm --skill integrating-stripe-webhooks
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 integrating-stripe-webhooks?

在实现 Stripe webhook 端点并收到“原始正文不可用”或签名验证错误时使用 - 提供跨框架的原始正文解析解决方案和订阅期字段修复 来源:pr-pm/prpm。

如何安装 integrating-stripe-webhooks?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/pr-pm/prpm --skill integrating-stripe-webhooks 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/pr-pm/prpm