#4leafclover_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1212498393247776831
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
Hello
You can version your requests using: https://docs.stripe.com/api/versioning to set a specific version on a per-request basis.
If you want your account's default updated to an API version that isn't the latest, then you can reach out to our Support team via https://support.stripe.com/contact/login and they can help you with getting that updated.
This is not possible in .NET though, right? Since C# is strongly typed, and the version is fixed in the library?
Ah you are likely having an issue specifically with your Webhook endpoint here, yes?
Not sure, the most I can say is that I am getting this error after I try to do a Stripe checkout: "Received event with API version 2023-10-16, but Stripe.net 41.22.0 expects API version 2022-11-15", but when I update the nuget package to the latest stable, the error is fixed. However, this caused all previous webhook events to fail.
Yeah you need to set your Webhook API Version based on the version of the SDK you are using. You can set that by creating the endpoint via API: https://docs.stripe.com/api/webhook_endpoints/create#create_webhook_endpoint-api_version