#runhurryup_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/1290231590206574674
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! well a 400 error would come from your server/endpoint, what do your logs/code tell you is happening?
No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
i console logged the body, the signature, and the secret and they all look correct
I am using nextjs btw
when you say they look correct, what are they exactly? for the secret, when you share it, edit to just the first 2 and last 4 like whsec_1A......wxyz
signature::: t=1727685956,v1=e4d3cc4bda2033f133cbc5ca3bb188a4f8474b0e07b01cb3d7a255e96125573b,v0=76405c7532f2b4f0ddec40bf841a35a6e68d99d032978ceed395779f7b31d754
secret::: whsec_xxCcEyqbwbagiWqtwUqkaJ0I1dY6xxxx
to be clear the secret should be the one that's printed when you run stripe listen (assuming you're doing local testing here and not using your existing vercel endpoints)