#bryan_07234
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Are you referring to a specific feature of a Stripe client library? If so, which language and version(s)?
Yes, it's the Stripe.net library. Stripe.Events.PaymentCreated was removed. I was listening for that event in my webhook. Was it replaced by some other event type?
Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com. - stripe/stripe-dotnet
What version of the .NET library were you using previously and what version are you on now?
I was on 41.x and upgraded to 42.2.
Oh it's right there in the CHANGELOG for 42.0 https://github.com/stripe/stripe-dotnet/blob/49f204442c49cffbfa6fd960c7bf426c55b9e454/CHANGELOG.md#4200---2023-08-16
Specifically this PR https://github.com/stripe/stripe-dotnet/pull/2751
You will find PaymentIntent.Created though
"Remove several deprecated constants from Event"
So PaymentCreated was deprecated, I guess.
Yes, if you look here https://stripe.com/docs/api/events/types it's not a support event type
OK thank you. I'm still testing, and while testing a couple weeks ago it was sending the PaymentCreated event to my webhook, so I started listening for it. I guess I'll ignore it then. ๐
What are you actually trying to capture? If there is some use case you are looking into I can recommend an event to listen to
No, since I'm in testing phase, I was just making test transactions to the Stripe API and noting whatever events it was sending back. I'll just remove the event from the ones I noted.
Not a problem.
thanks for your help!
Okay. If you have any specific use case we'll be happy to help ๐