#michael-1219_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/1301837827641708544
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- michael-1219_webhooks, 21 hours ago, 54 messages
- michael-1219_webhooks, 6 days ago, 19 messages
hi there
i have communicate with you about this problem this week
the version has been pinned,
but it not work
hi! can you elaborate, what specific problem/error are you running into right now?
you can see what happen
evt_1QGGZhK4vaWYtFnyvRuEoWg2
you can find the code snipping in our past chat
the stripe-java version is 24
why does your server return the string "No body"?
I thought may becasue mismatch api version
but i pinned webhook version to 2023-8-16, api version 2024-6-20, SDK 24
do ssl essention for this process?
I want to try the call-back in local environment, but ssl havent implment locally
are you still there
yes I'm still here
if you want to test locally that is what stripe-cli and stripe listen --forward-to are for
but you can't control the API version with that so it won't help much here
ok, since I have try it via cli locally
but still some issue occer
occur
If possible, locate the problem in server might be what i really earge right now
first thing would be checking to determine why your server code would return the string "No body" and then adding logs around that
actually no
"No body" just means you didn't send a response, which is fine
so the question really is why your server returns a HTTP 400 instead of 200
if you log event.getApiVersion() before trying to deserialise , what is it?
you mean i shout print the value of that before deserialise
yes
if you log the payload string of the incoming request what is that? (the value you pass to Webhook.constructEvent )
what happens if you just use getDataObjectDeserializer().deserializeUnsafe() ?
yeah I think it's because you still receive retries of old events from the old endpoints, or you use the same URL for multiple Stripe webhook endpoints, or something like that