#tounka
1 messages · Page 1 of 1 (latest)
Would you like to bypass Webhook signature validation or fix signature validation error?
For fixing signature validation error, you'd need to ensure that the request body is in raw. In addition, the Webhook secret must be set correctly based on the endpoints used (local or endpoints set in Dashboard)
fix signature validation error
i'm getting this error stripe webhook had no valid signature even though i can see the header set
Could you share your code about handling Webhook events?
so for context, i'm able to handle events fine from my back-end. currently i'm trying to proxy the stripe event with a nextjs function to my back-end.
more specifically how can i proxy this request without messing with the event so the signature doesn't complain
i don't have access to the code atm
so for context, i'm able to handle events fine from my back-end
Do you mean that you don't get invalid signature error without proxy?
that's correct
I see! It seems like the Stripe-Signature header is either missing or modified during the proxy
Could you double check the value of Stripe-Signature is the same with and without proxy?
will do. thank you