#milan_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ 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.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ 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/1389372616896151766
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! can you share an example API request where you're getting an error?
in the meantime let me look up the docs around setting API versions for .NET
ahhhhh i forget, .NET pins API versions to specific releases.... i might have to dig on this for a bit
(see this for a reference as to what i'm talking about)
https://docs.stripe.com/api/versioning?lang=dotnet
We don't have an error.
We just need to specify the version (so I'm told) so that Stripe will honor the magic strings we send in for the L2/3 data
ok, i think this is what you need:
https://github.com/stripe/stripe-dotnet/blob/beta/README.md#public-preview-sdks
this looks like the specific release you need for the preview feature:
https://github.com/stripe/stripe-dotnet/releases/tag/v48.2.0-beta.1
Looking...
I've just upgraded our nuget to 48.2.0 which is 2025-05-28.basil Would that already include 2025-04-30.preview?
It looks like it should based on the dates, but it's best to confirm.
good question - my team is generally less familiar with preview features so i will need to double check that for you
actually no, you definitely need to use one of the beta versions
1 sec...
ok yes, so you would need to use any of v48.2.0-beta.1, v48.2.0-beta.2, v48.3.0-beta.1 or v48.3.0-beta.2
and then add the specific beta version you need using StripeConfiguration.AddBetaVersion([beta feature name], [version]);
Got it. So 48.2.0 won't work?
yep, when using the .NET SDKs any preview features that require the use of a beta header require you to install one of the beta versions specifically
Because v48.2.0-beta.1 has 2025-04-30.preview
Such a bummer. I'd rather use a stable version than a beta. One last question - do you know when this might go into a stable release?
generally speaking non-preview functionality within the beta version should work identically to the corresponding non-beta / preview releases. but the specific feature you're looking to implement is in preview, so that specific functionality comes with all the typical preview warnings
and i don't think we have an official full release date for this feature but let me check
Got it. Thank you. I'll wait until it's stable. I don't feel comfortable putting that into production.
ok yes, i don't think we have an official public release date for this feature