#papazov9_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1301186599085936640
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
We have a doc that goes over what can affect and fail webhook signature verifications here - https://docs.stripe.com/webhooks/signature
I'd recommend reading through that as it should help resolve the issue.
Sure but i have already read this
One thing I'd flag is that your server might be altering the payload on it's own due to configuration.
I see, where i can see further more about self altering in the server
like if it is configured to automatically convert incoming request payload to JSON, that would mutate the incoming request. It's explained here - https://docs.stripe.com/webhooks/signature#check-the-request-body
okay can i print the signature here and you say if it seems refactored?
Not something I can just look at and confirm, you'd need to check your server configuration and look at what's happening with the incoming payload.
hmm sure, but i do not think in spring boot i can see if the request is altred or not
Yeah it can be difficuly to verify unfortunately. Sometimes with frameworks you need to try a couple different methods to find the one that actually gives you the raw request body
no actually i just get it as a @RequsetBody String payload instead of HttpRequest adn it worked
Thank you for the help
appreciate it
Nice! Glad that solved it