#standup75
1 messages · Page 1 of 1 (latest)
For context, here the code with the constructEvent call
event: APIGatewayEvent,
webhookType: 'connect' | 'account'
) {
const sig = event.headers['stripe-signature']
return stripe.webhooks.constructEvent(
event.body,
sig,
webhookType === 'connect'
? process.env.STRIPE_CONNECT_WHSEC
: process.env.STRIPE_ACCOUNT_WHSEC
)
}
Hi there!
Hm, any chance you could add some logging to inspect the value of APIGatewayEvent?
ok, it will take a while, but I'll circle back when I get it