#Sinduri

1 messages · Page 1 of 1 (latest)

sudden carbonBOT
cyan zealot
#

They're now omitted by default, yep. You'll need to make an additional API call to retrieve the Charge and 'expand' that field.

honest walrus
#

it's fine for other events, but when the event itself related to refund why you guyz omitted the refund data?

cyan zealot
honest walrus
#

One more thing to ask I am a plugin developer, and we're passing the stripe version upto which we are compatible to avoid compatibility issues happening for live customers when there is a version change from Stripe's end

#

All server side and client side API requests are working fine then, but for webhook events the crash with latest Stripe API version

#

Is there any method to override using the API version in the customer's stripe dashboard for webhook events?

cyan zealot
#

I suspect your webhook(s) are fixed to a specific version and aren't using your account default version. Can you share an example?

honest walrus
#

The scenario is, We have developed a Stripe plugin for WooCommerce, As of now our plugin is compatible with 2022-08-01. Thus we are passing this version in all our API calls to override the API version in our customers Stripe dashboard

cyan zealot
#

Can you share a webhook ID (we_xxx)?

honest walrus
#

Is there any option to override the default version in Customer Stripe dashboard for webhook events

#

Our plugin has 10k+ active install in WordPress platform itself. Our plugin only compatible upto 2022-08-01. If any customers with latest API version using our plugin, then webhook events would not work

cyan zealot
#

But I can't really advise anything further with an example of the issue you're facing

honest walrus
#

not using connect

#

Not using connect!! Our customers use their on Stripe account

cyan zealot
#

But again, a specific evt_xxx example would help here

honest walrus
#

okay, this sounds great

#

one more concern, If we create webhook endpoint with version X and then bring compatibility with latest Y version, then how can we update the version of the already created webhook endpoint

lyric peak
#

Hi! I'm taking over this thread.

#

then how can we update the version of the already created webhook endpoint
If you created a webhook endpoint with an API version explicitly set, you won't be able to change the version later. Instead you'll have to create a new webhook endpoint.
If your webhook endpoint use the default API version of your account, then updating your default API version will automatically update the webhook endpoint version.

honest walrus
#

Okay, thank you