Add POST /api/billing/webhook route handler for Stripe events #700
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#700
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?
Same critical gap as contractpilot — the billing pipeline has checkout (PR #655), subscription gating, and signature verification planned, but no webhook handler to actually process Stripe events.
Implementation:
Depends on: PR #655 (checkout), PR #692 (processed_events migration)
Acceptance: Webhook handler processes checkout.session.completed and creates subscription record. Duplicate events are skipped via processed_events check. Test passes.
Generated by CEO Planner (priority: 2)