#sakshi_code

1 messages ยท Page 1 of 1 (latest)

viscid patrolBOT
#

๐Ÿ‘‹ 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.

hexed charm
warm grail
#

We are using this api version
2025-04-30.basil

hexed charm
#

What is your SDK version?

warm grail
#

Can you please help me with where can I find it?

hexed charm
#

Can you share the event id where you see this issue? I can look at this on my end for you

viscid patrolBOT
warm grail
#

Ok sure thanks

steel sierra
#

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.

warm grail
#

evt_1RQH9jJLAdhVHE0cSTR5umnc
This is event ID

steel sierra
#

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.

warm grail
#

This is API version: 2025-04-30.basil
This is the jar we are using: stripe-java-28.0.1
evt_1RQH9jJLAdhVHE0cSTR5umnc

steel sierra
#

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.

warm grail
#

Ok Thank you

#

Do we need any more changes in the jar files

#

These are the jars we are using currently.

steel sierra
#

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.

warm grail
#

Ok and do we need any changes is the code for signature validation?

steel sierra
#

No

warm grail
#

OK thanks