Add Stripe checkout.session.completed webhook handler #807
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#807
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?
Create a webhook handler for checkout.session.completed Stripe events. When checkout completes, extract customer ID, subscription ID, and plan from session metadata, then upsert stripe_customers and stripe_subscriptions records. Follow the same pattern being established in contractpilot. Acceptance: handler validates event signature, extracts data from session object, upserts both DB tables, returns 200. This completes the billing activation path.
Generated by CEO Planner (priority: 2)