Split Stripe webhooks: /stripe/webhook for payouts, /stripe/webhook/connect for v2 Connect

- Separate webhook routes with different secrets
- Add verifyConnectWebhookSignature() to StripeService
- Add STRIPE_WEBHOOK_SECRET_CONNECT env var
- Update vault with prod secrets for both endpoints

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-20 22:31:00 +01:00
parent 3ee1bffc2a
commit 3e8eed4edb
5 changed files with 83 additions and 158 deletions

1
.env
View File

@@ -44,6 +44,7 @@ REAL_MAIL=0
STRIPE_PK=
STRIPE_SK=
STRIPE_WEBHOOK_SECRET=
STRIPE_WEBHOOK_SECRET_CONNECT=
STRIPE_MODE=test
SMIME_PASSPHRASE='KLreLnyR07x5h#3$AC'