#.rjcustodio
1 messages ยท Page 1 of 1 (latest)
Hello there
hello
So as noted the .NET SDK expects you to pin to a specific API Version.
So the recommendation here is to either upgrade your SDK to the newest version which aligns with the 2023-08-16 API version. Or create a Webhook endpoint (https://stripe.com/docs/api/webhook_endpoints/create#create_webhook_endpoint-api_version) with the 2022-11-15 API version
my .net sdk in VS is already up to date.. im thinking if i need to update my webhook key so i can have the latest version of API?
It is your Stripe .NET SDK here.
You can see that 42.0.0 was just released a week ago: https://github.com/stripe/stripe-dotnet/blob/master/CHANGELOG.md#4200---2023-08-16
42+ is what supports the new API version
Ah whoops sorry
I misread the warning you are getting
It is stating you are already on newest SDK version but your API Version is old
That is due to your Webhook endpoint
So yeah you need to remove and recreate your Webhook endpoint using the newest API version
do i need to have updated webhook secret key?
Yes after you create a new endpoint you will need to use the new secret that corresponds with that endpoint
i forgot on how to get the whsec in the stripe dashboard
how can i get it? ๐
o got it
thank you for the help ๐
๐
what is the frequency that webhook .net sdk updating?
do i need to update it every now and then?
what if, it is already deployed in production and there is a latest version?
will the current webhook deployed in production will still work?
No set frequency really but there is no need to update on your end unless you want to.
You can use any of the old versions just fine
You just might miss out on new features that are added to newer versions
okay, well that's good. thank you โค๏ธ
๐
question,,
is there a way to test the webhook?
for example i already have an event id..
can i retrigger that?
like using the stripe trigger <event_type> <event id>
You can resend an Event: https://stripe.com/docs/cli/events/resend