#JohnTheFrog

1 messages ยท Page 1 of 1 (latest)

gloomy folioBOT
near locust
#

๐Ÿ‘‹ happy to help

#

it really depends on whether your webhook endpoint code was upgraded or not

limber fox
#

Particullary I am wondering if historical actions in stripe are bound to be sent to a webhook with specfied version (this would mean I should keep old webhook running)

near locust
#

between different versions of the API the shape of the objects change

limber fox
#

I have tested the changes in objects and this is not a problem, I am wondering if old invoices will be sent to newest webhook

near locust
#

just a QQ which language is your webhook endpoint written in?

limber fox
#

PHP, I have set the api_version to the newest

near locust
#

did you update to the newest SDK?

limber fox
#

Yes, iirc its 10..

#

10.3.0

near locust
#

do you have any code that's going to still run on the old API version?

limber fox
#

No. Btw I should specify that by "he webhook endpoint does not change" I've meant that the URL stays the same

#

I plan to duplicate existing webhook just with a change to newest version, disable old one, and deploy a release code

near locust
#

in that case you can proceed as planned

#

it's unfortunate (and we're aware of this limitation) that we can't update the API version of a webhook endpoint and instead need to do all this hustle, I'm sorry for that

limber fox
#

This is not a problem, you have a great api that could allow devs to automate it ๐Ÿ™‚

#

Thanks for help

near locust
#

let me know if you need any more help

limber fox
#

Seems to be running smooth ๐Ÿ™‚