From 61ff2e8ba331fce5801364920efde0af21d62aae Mon Sep 17 00:00:00 2001 From: "Claude (Chronicler #57)" Date: Fri, 3 Apr 2026 16:51:02 +0000 Subject: [PATCH] fix: restore stripe mount for checkout while keeping webhook raw body Need BOTH mounts: - /stripe/webhook (line 43, BEFORE json parser) - raw body for signature - /stripe (line 83, AFTER json parser) - parsed body for checkout This allows: - Webhook at /stripe/webhook with raw body - Checkout at /stripe/create-checkout-session with parsed body Signed-off-by: Claude (Chronicler #57) --- services/arbiter-3.0/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/arbiter-3.0/src/index.js b/services/arbiter-3.0/src/index.js index 58119aa..5cc03d7 100644 --- a/services/arbiter-3.0/src/index.js +++ b/services/arbiter-3.0/src/index.js @@ -80,6 +80,7 @@ const csrfProtection = csrf({ cookie: false }); app.use('/auth', authRoutes); app.use('/admin', csrfProtection, adminRoutes); app.use('/webhook', webhookRoutes); +app.use('/stripe', stripeRoutes); // Checkout and portal routes (uses JSON body) // Start Application const PORT = process.env.PORT || 3500;