#Jerry Jose
1 messages · Page 1 of 1 (latest)
Hi, .NET SDK can only accept events in specific API version, in this case 2022-11-15. Let's setup a webhook endpoint for this specific version
could you please share how we can setup latest api version in webhook endpoint?
using WebhookCreate service?
Yes that API, or technically you can upgrade your whole account API and recreate webhook endpoint from Dashboard. But I recommend the 1st approach
But When I try with Webhook endpoint create service, every time its create new Webhook in dashboard when I run the application
It will be a bit different with Stripe CLI in localhost.
To clarify: are you testing on a new account, or that's an important account already has live payments?
If you are just testing, simply upgrade your account default API version would be easy
testing with new account, after upgrade my API version in my account, it's expecting to upgrade Stripe.net in application
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Do you see 2022-11-15 as latest version here?
yes
I did that one in my account
but stripe api expecting to upgrade Stripe.net package in my application
after upgrade stripe.net in my app it's working
Sorry I am not really following. Do you have multiple accounts?
no
Let's focus on the one you have set 2022-11-15 as latest version
yes
Okie, then what is your .NET version?
its 40.9.0
Yeah that doesn't work with 2022-11-15. Let's upgrade to latest version
yes, It's working after upgrade to the latest
Do we need to do - upgrade both API version and Stripe.net version for each releases?
Well technically you don't. But we recommend to do that if possible