[Agent] Issue #483: when a stripe webhook fails to process d #486

Closed
pook wants to merge 49 commits from agent-task/483 into main
Owner

Closes #483

Changes

feat: issue #483 when-a-stripe-webhook-fails-to-process-d (agent task liancebot483)

Acceptance Criteria

When a Stripe webhook fails to process (DB error, missing customer, unexpected event), failures may be silently swallowed — customers who paid don't get subscriptions activated with zero visibility. Add structured failure logging: on webhook processing error, log Stripe event ID, event type, customer ID, error message at ERROR level. Store failed events in a webhook_failures table with event_id, event_type, error, timestamp, resolved boolean. Add GET /api/admin/webhook-failures endpoint (admin-only) listing unresolved failures. This is revenue-critical: a single missed webhook means a paying customer with no access.


Generated by CEO Planner (priority: 2)

Tokens: 29 in / 7033 out

Closes #483 ## Changes feat: issue #483 when-a-stripe-webhook-fails-to-process-d (agent task liancebot483) ## Acceptance Criteria When a Stripe webhook fails to process (DB error, missing customer, unexpected event), failures may be silently swallowed — customers who paid don't get subscriptions activated with zero visibility. Add structured failure logging: on webhook processing error, log Stripe event ID, event type, customer ID, error message at ERROR level. Store failed events in a `webhook_failures` table with event_id, event_type, error, timestamp, resolved boolean. Add GET /api/admin/webhook-failures endpoint (admin-only) listing unresolved failures. This is revenue-critical: a single missed webhook means a paying customer with no access. --- *Generated by CEO Planner (priority: 2)* Tokens: 29 in / 7033 out
feat: issue #483 when-a-stripe-webhook-fails-to-process-d (agent task liancebot483)
Some checks failed
CI Quality Gate / Lint / Typecheck / Test / Build (pull_request) Has been cancelled
4e410fda00
pook closed this pull request 2026-04-10 21:14:58 -04:00
Some checks failed
CI Quality Gate / Lint / Typecheck / Test / Build (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot!486
No description provided.