#ArunBhat
1 messages · Page 1 of 1 (latest)
Hi! Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_fsqWrkFqnKFERA
is this the one ?
Its working fine with the api version
2022-11-15
I am seeing that request is succeeded
Can you screenshot the exact location you are having errors?
We are using the stripe dll version 41.4.0
: 'Received event with API version 2023-10-16, but Stripe.net 41.4.0 expects API version 2022-11-15. We recommend that you create a WebhookEndpoint with this API version. Otherwise, you can disable this exception by passing throwOnApiVersionMismatch: false to Stripe.EventUtility.ParseEvent or Stripe.EventUtility.ConstructEvent, but be wary that objects may be incorrectly deserialized.'
got this while debugging
is 41.4.0 does not support api version
2023-10-16
?
we are using "EventUtility.ParseEvent(response)" this to deserialize
The request is getting succeeded, but parsing is the problem
Yes we are using webhook, charge.suceeded event
we are using the stripe version 41.4.0 version, unable to parse the webhook request
we implemented stripe with api version
2022-11-15, but our client uses
2023-10-16
Yep the error is kinda straightforward, isn't it 🙂 The webhook endpoint is on 2023-10-16, while your .NET SDK supports an older API version
which dll we should use to support both the api versions ?
No .NET is a SDK tighted to one version. It's a complied language and that's how it works
i did not understand your response, my question is which stripe dll version should we use to make both 2022 and 2023 webhook to work ?
I mean there is no version like that. There is only version for 2022 webhook, and version for 2023 webhook separately
ok thank you, which version to use for 2023?
Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com. - stripe/stripe-dotnet