Loading...
Loading...
Compare original and translation side by side
undefinedundefined
**Red flags:**
- Multiple endpoints for same URL (duplicate signing secrets)
- Status != "enabled"
- Missing critical events (checkout.session.completed, customer.subscription.*)
**红色预警:**
- 同一URL对应多个端点(重复签名密钥)
- 状态不等于"enabled"
- 缺少关键事件(checkout.session.completed、customer.subscription.*)undefinedundefined
**Red flags:**
- HTTP 307/308/301/302 = REDIRECT = Stripe won't deliver webhooks
- Must return 4xx or 5xx, NOT 3xx
**红色预警:**
- HTTP 307/308/301/302 = 重定向 = Stripe不会投递Webhook
- 必须返回4xx或5xx,不能是3xxundefinedundefined
**Red flags:**
- pending_webhooks > 0 for old events = delivery failing
- pending_webhooks should decrease over time
**红色预警:**
- 旧事件的pending_webhooks > 0 = 投递失败
- pending_webhooks应随时间减少undefinedundefined
**Red flags:**
- More than 2-3 events with pending_webhooks > 0
**红色预警:**
- 超过2-3个事件的pending_webhooks > 0undefinedundefinedundefinedundefinedSTRIPE WEBHOOK HEALTH CHECK
===========================
Endpoints: [count] configured
- [url] (status: [enabled/disabled])
Redirect Check: [PASS/FAIL]
- [url] returns [status code]
Recent Delivery: [PASS/WARN/FAIL]
- [X] events with pending_webhooks > 0
Recommendation: [action if any issues found]STRIPE WEBHOOK HEALTH CHECK
===========================
Endpoints: [count] configured
- [url] (status: [enabled/disabled])
Redirect Check: [PASS/FAIL]
- [url] returns [status code]
Recent Delivery: [PASS/WARN/FAIL]
- [X] events with pending_webhooks > 0
Recommendation: [action if any issues found]| Symptom | Likely Cause | Fix |
|---|---|---|
| pending_webhooks stays high | Redirect or wrong URL | |
| Duplicate endpoints | Created endpoint twice | Delete older one, keep one with matching secret |
| Events not appearing | Wrong events enabled | Update endpoint to include required events |
| Signature verification fails | Wrong secret in env | Get secret from Stripe dashboard, update env |
| 症状 | 可能原因 | 修复方法 |
|---|---|---|
| pending_webhooks数值持续偏高 | 重定向或URL错误 | 使用 |
| 重复端点 | 重复创建了端点 | 删除旧的端点,保留与密钥匹配的那个 |
| 事件未出现 | 未启用正确的事件 | 更新端点以包含所需事件 |
| 签名验证失败 | 环境变量中的密钥错误 | 从Stripe控制台获取密钥,更新环境变量 |