From 380fcf7bde5efe5146e6d0ac69e7004dadb288cb Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Thu, 7 May 2026 01:58:15 -0400 Subject: [PATCH] docs(env): document Stripe env vars in backend/.env.example STRIPE_SECRET_KEY / STRIPE_PUBLISHABLE_KEY / STRIPE_WEBHOOK_SECRET are required for the self-serve signup flow's checkout, portal, and webhook paths. When unset, settings.stripe_enabled returns False and Stripe code paths short-circuit cleanly. Co-Authored-By: Claude Opus 4.7 --- backend/.env.example | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/backend/.env.example b/backend/.env.example index 0d6a3e5a..28880cdb 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -21,4 +21,12 @@ ANTHROPIC_API_KEY= VOYAGE_API_KEY= # ConnectWise PSA Integration -CW_CLIENT_ID= \ No newline at end of file +CW_CLIENT_ID= + +# Stripe +# Test keys from Stripe Dashboard → Developers → API keys (with Test mode toggled on). +# Webhook secret for local dev: from `stripe listen --forward-to localhost:8000/api/v1/webhooks/stripe`. +# When unset, app/core/config.py:stripe_enabled returns False and Stripe code paths short-circuit. +STRIPE_SECRET_KEY=sk_test_ +STRIPE_PUBLISHABLE_KEY=pk_test_ +STRIPE_WEBHOOK_SECRET=whsec_ \ No newline at end of file