integrating-stripe-webhooks
在實現 Stripe webhook 端點並收到“原始正文不可用”或簽名驗證錯誤時使用 - 提供跨框架的原始正文解析解決方案和訂閱期字段修復
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 端點並收到“原始正文不可用”或簽名驗證錯誤時使用 - 提供跨框架的原始正文解析解決方案和訂閱期字段修復 來源:microck/ordinary-claude-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/microck/ordinary-claude-skills --skill integrating-stripe-webhooks- 分類
- </>開發工具
- 認證
- —
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 integrating-stripe-webhooks?
在實現 Stripe webhook 端點並收到“原始正文不可用”或簽名驗證錯誤時使用 - 提供跨框架的原始正文解析解決方案和訂閱期字段修復 來源:microck/ordinary-claude-skills。
如何安裝 integrating-stripe-webhooks?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/microck/ordinary-claude-skills --skill integrating-stripe-webhooks 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/microck/ordinary-claude-skills
詳情
- 分類
- </>開發工具
- 來源
- user
- 收錄時間
- 2026-02-01