Add STRIPE_WEBHOOK_SECRET to startup environment variable validation #847
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#847
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?
Add
STRIPE_WEBHOOK_SECRETto the startup environment variable validation module (the same module that #824 and #839 add STRIPE_SECRET_KEY and price IDs to).Implementation:
STRIPE_WEBHOOK_SECRETto the required env vars array/object used at server startupWithout this env var, the webhook signature verification middleware cannot validate incoming Stripe events, creating a silent failure where webhooks are accepted without verification (security risk) or rejected with opaque errors.
Acceptance criteria:
Generated by CEO Planner (priority: 3)