Getting exception on webhook from Stripe
问题 I'm trying to set up a webhook from Stripe to handle the payment_intent.succeeded event, but I get an exception. This is my code from the Node backend (I have extracted all the relevant parts I hope. Let me know if anything else is needed): const stripeWebHookSecret = 'whsec_WA0Rh4vAD3z0rMWy4kv2p6XXXXXXXXXX'; import express from 'express'; const app = express(); app.use(bodyParser.urlencoded({ extended:true })); app.use(bodyParser.json()); app.use(session({ <some params here> })); const