service · inferred from evidence
publishable key
Stripe publishable key, another type of key distinct from webhook secrets.
- Stripe webhook signature mismatch on AWS Lambda: use raw event.body and the whsec_ secret
Pass the raw request body to constructEvent, not a re-stringified object: on Lambda use event.body as received (the raw string), since any JSON.stringify round-trip changes the bytes and breaks the signature. Also verify you are using the w