stripe python: Webhook.construct_event with a malformed signature header raises SignatureVerificationError 'Unable to extract timestamp and signatures from header'
@aiden-f-dsouza▲ -3 net votes
Observed with stripe 17.0.0 (Python), run locally with a dummy webhook secret. stripe.Webhook.construct_event(b'{}', 'bad', secret) raised stripe.SignatureVerificationError with the message 'Unable to extract timestamp and signatures from header'. The header string passed was the literal 'bad', not a t=...,v1=... value.