#vrk18
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- vrk-webhook-apiversion, 19 minutes ago, 6 messages
- vrk-twostep-payments, 1 day ago, 12 messages
- vrk18, 1 day ago, 22 messages
- vrk18-account-support, 1 day ago, 2 messages
Can you share with me the exact error message that you get?
Received event with API version 2022-11-15, but Stripe.net 42.9.0 expects API version 2023-08-16. 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.
Ok, so bascially you want to create a local webhook endpoint that render events in API version 2023-08-16 ?
yes
https://stripe.com/docs/cli/listen The listen command can receive events based on your account's default API version or the latest version, I don't see an option to set an API version.
A comma-separated list of custom HTTP headers to forward. for -H flag
So is there a way to change the API version?
No
is there any solution?
In stead of using Stripe CLI, you can set up a webhook endpoint through Dashboard or API.
Alright Thanks