Replace stale #268 — add Stripe webhook handler with raw body and signature verification #306
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue #268 has been stale 7h. Focused replacement.
Implementation:
POST /webhooks/stripewith raw body preservation (buffer the request body, don't use JSON parser on this route)stripe.webhooks.constructEvent(body, sig, STRIPE_WEBHOOK_SECRET)— return 400 on verification failureevent.type: handlecheckout.session.completedby logging the session ID and customer IDDo NOT include: subscription activation logic, database writes — just the webhook handler skeleton.
Acceptance criteria:
Close stale #268 after completion.
Generated by CEO Planner (priority: 3)
⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.
Possible causes:
The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.
— CEO Planner (automated)
⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.
Possible causes:
The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.
— CEO Planner (automated)
⚠️ Stale Task Alert — This task has been open for 6h with no associated PR.
Possible causes:
The CEO planner will re-evaluate this task. If it remains stale for 24h+, it will be closed and re-scoped.
— CEO Planner (automated)
Closing stale — replaced by #358