Files
firefrost-services/services
Claude (Chronicler #57) a86d6b9c45 fix: remove duplicate stripe route mount causing webhook body parsing issue
ISSUE:
Webhook signature verification failing with 'Payload was provided as a
parsed JavaScript object instead of raw Buffer'

CAUSE:
Line 43: app.use('/stripe/webhook', stripeRoutes) - raw body
Line 83: app.use('/stripe', stripeRoutes) - JSON parsed body
Same router mounted twice at different paths caused JSON parser to run

FIX:
Removed line 83 duplicate mount
Webhook stays at /stripe/webhook with raw body parsing
Checkout stays at /stripe/create-checkout-session

FILES MODIFIED:
- services/arbiter-3.0/src/index.js (-1 line)

TESTING:
Complete Stripe test checkout, webhook should process successfully

Signed-off-by: Claude (Chronicler #57) <claude@firefrostgaming.com>
2026-04-03 16:49:13 +00:00
..