#sakshi_code
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/1373998406313443348
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, I see a similar ask here: https://stackoverflow.com/questions/73183026/why-is-dataobjectdeserializer-getobject-not-present. Can you ensure that the API versions match there?
We are using this api version
2025-04-30.basil
What is your SDK version?
Can you please help me with where can I find it?
Can you share the event id where you see this issue? I can look at this on my end for you
Ok sure thanks
Hi there ๐ I'm jumping in as my teammate needs to step away.
Judging from the code that you shared, are you using our stripe-java SDK?
If so, since Java is a strongly-typed language, the version of the SDK you're using needs to align with the API version you're using, or you may encounter deserialization issues if the object structure in the API version you're using doesn't align with the object structure the version of our SDK that you're using is expecting.
evt_1RQH9jJLAdhVHE0cSTR5umnc
This is event ID
I'm going to need more information from you on how you're currently trying to perform signature validation. Your account logs don't point to a single of our SDKs being used, so I'll need you to tell me which of our SDKs you're trying to use, along with details about which version you're using currently.
This is API version: 2025-04-30.basil
This is the jar we are using: stripe-java-28.0.1
evt_1RQH9jJLAdhVHE0cSTR5umnc
Thank you for that clarity, there is a misalignment between the API version you're using and the version of stripe-java that you're using.
28.0.1 of stripe-java is pinned to version 2024-10-28.acacia of our API.
You'll need to change one of those versions. Either create a new webhook endpoint that is pinned to the same API version that is being used by version 28.0.1 of stripe-java.
or
update the version of stripe-java you're using so that it aligns with 2025-04-30.basil, which is version 29.1.0:
https://github.com/stripe/stripe-java/releases#:~:text=This release changes the pinned API version to 2025-04-30.basil.
Ok Thank you
Do we need any more changes in the jar files
These are the jars we are using currently.
If you aren't using a bundle manager to manage your dependencies, then I suggest checking our readme file to ensure you're satisfying all of our dependency requirements:
https://github.com/stripe/stripe-java?tab=readme-ov-file#others
Gson is the only other requirement I see there, and it looks like you have that installed already, though a different version that we used to build and test our SDK.
Ok and do we need any changes is the code for signature validation?
No
OK thanks