#Castellino Software
1 messages · Page 1 of 1 (latest)
Can you share the event id?
evt_1NE64iJbNwX2Hvoc8hIwJqzr
Hm I see that it sent the 2022-11-15 version to your endpoint
I deserialize the event in a java class and what i get is:
<com.stripe.model.Event@1365760293 id=evt_1NE64iJbNwX2Hvoc8hIwJqzr> JSON: {
"account": null,
"api_version": "2020-08-27",
"created": 1685605056,
The problem is that after deserializing the session if I try to get the PaymentIntent it doesn't find it due to the different api version
If you use our Java, .NET or Go client libraries, make sure that you configure the endpoint API version to use the same API version pinned in the client. Otherwise, you might be unable to de-serialize the event objects.
What client api version are you using in the code?
I use your java library (downloaded via maven), version 22.7.0
I use Stripe.API_KEY in all my calls, so 2022-11-15
Hm
Check this link: https://dashboard.stripe.com/events/evt_1NE64iJbNwX2Hvoc8hIwJqzr
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You can see the webhook attempts and expand each one
The account default api version is what we sent
Ty, i'll investigate
Just a question
It's true that event api version follow the webhook api version?
The webhook is created programmatically, setting the api version
I set the same version in javascript objetct too, on the page that receive Stripe session id from my server and redirect to gatewey
Yes the event's api version follows the version you set on the webhook endpoint
ok, many thanks 🙂