#standup75

1 messages · Page 1 of 1 (latest)

opal burrowBOT
vernal willow
#

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
  )
}
frigid void
#

Hi there!

#

Hm, any chance you could add some logging to inspect the value of APIGatewayEvent?

vernal willow
#

ok, it will take a while, but I'll circle back when I get it

opal burrowBOT