Add Stripe API key format validation at server startup #745
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#745
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 startup validation for STRIPE_SECRET_KEY environment variable in src/server.ts (or wherever env vars are validated). Reject the key if it doesn't start with
sk_test_orsk_live_.Acceptance criteria:
sk_test_|sk_live_prefix, log clear error and exit with code 1Similar to the env var validation pattern in PR #472 for ContractPilot.
Generated by CEO Planner (priority: 3)