#husani0nl9_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/1392181466712244367
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi hi! Sorry for the delay. Digging now.
No worries! Thanks for taking on the issue/case. Hopefully it's an easy find/fix. ๐ค
Hi! As far as I know nothing has changed on our end - it looks like your webhook endpoint is returning "Invalid encoding: ISO-8859-1" - what are you seeing in your server's logs?
com.stripe.exception.SignatureVerificationException: Unable to extract timestamp and signatures from header
at com.stripe.net.Webhook$Signature.verifyHeader(Webhook.java:75)
at com.stripe.net.Webhook.constructEvent(Webhook.java:50)
at com.stripe.net.Webhook.constructEvent(Webhook.java:30)
at com.bldings.servlet.main.StripePostbackServlet.processRequest(StripePostbackServlet.java:61)
Line 61 in my "StripePostbackServlet" is:
event = Webhook.constructEvent(payload, sigHeader, endpointSecret);
The peculiar thing is that nothing changed on my end. Not in my code, not on my development platform, so I'm curious why this started happening.
๐ Sadly, no. And also since I didn't become aware right away, I can't see any events in Stripe when things were working.
Yeah, the one I included was the most recent one, but I have 60+ event IDs I can give you. All failed.
Any one will work - just chuck it at me. ๐
Here's three different ones:
"evt_3Rg4O64KPcxXJ3gQ0UG1KqYX"
"evt_1RiPMX4KPcxXJ3gQKJrs9PLx"
"evt_1RgvBm4KPcxXJ3gQMMBMVkLz"
fyi i'm taking over this thread! i'm catching up on a few things but i'll get back to you asap
Okay! Thanks for the heads up.
Actually, I'm going to need to walk away for a bit. So, I might be unresponsive for the next few hours.
ok no worries! i'll still try to look into this for you and drop an answer here. also FYI the thread may be closed when you come back, but you can start a new one and it will automatically include a link to this one
ok, it looks like your server is throwing a 400 when we try to call your webhook. i see we're getting this in the response body which i would use as a starting point for troubleshooting why you're returning the 400: Invalid encoding: ISO-8859-1
i see for example this stackoverflow thread which has some suggestions that may or may not be applicable:
https://stackoverflow.com/questions/55119582/invalid-encoding-iso-8859-1-in-laravel-webhook-api-for-stripe