#lakshya.eth-webhook-versioning

1 messages · Page 1 of 1 (latest)

clever thunder
unborn lotus
#

here is the ss, the api versions are different

clever thunder
#

Hey, will be here to help in a moment!

unborn lotus
#

ok sure

clever thunder
#

Can you paste that evt_xxx ID please

unborn lotus
#

evt_1KFFXERazlPQdlH0tkY28t52

clever thunder
#

Checking now!

#

This webhook belongs to acct_1FTpLxDbtBp8HOo6, correct?

unborn lotus
#

did you mean the account which was deauthorized or our stripe acct

#

oh yes, it does belong to acct_1FTpLxDbtBp8HOo6

unborn lotus
#

hey, any update ?

clever thunder
#

Sorry, got caught up in something

unborn lotus
#

No worries, take your time

clever thunder
#

I believe this is a known limitation with Connect webhooks when setting the latest API version (but only in test mode)

unborn lotus
#

I can't test on live mode

clever thunder
#

This won't be a problem in live mode, it's just a limitation that impacts test mode events

#

Is there a specific concern or something you're testing?

unborn lotus
#

so, earlier I've put a question is regarding a user.deauthorised webhook.
We've setup it using stripe-java but it didn't seemed working cause the lib uses latest stripe version but our acc uses 2019 version

#

We can't upgrade it as we don't wanna risk our other APIs

#

so we've created a new webhook with latest version but it still sends older version

#

if we can't test before going live, we'll be risking alot then

clever thunder
#

What specific events are you test? Have you checked the changelog to see if the API shape has even changed between the 2 versions?

unborn lotus
#

I did and we can upgrade but this path seemed actually easier for us

#

So we use two services,

  • Direct
  • Connect (checkout and deauthorised) related
clever thunder
#

I know you don't want to upgrade your API version

#

Also remember, this won't be an issue in live mode (the events will inherit the api_version set on the webhook)

unborn lotus
#

Ok, understood

#

I'll check what we can do

#

thanks

clever thunder
#

If there's no changes in shape of the objects (Account being one) between API versions then it's not really a big deal

unborn lotus
#

I see, connect related APIs were working in both version. but the direct ones we have to check

clever thunder
#

Are the non-Connect events impacted (i.e. they have the wrong API version too)? I wasn't sure

#

Think the limitation only affects Connect webhooks

unborn lotus
#

btw do you have any resource to upgrade stripe version