#matty_dotnet-beta-versions
1 messages ยท Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- matty_code, 3 days ago, 6 messages
๐ 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/1243618427042791445
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
If I understand your question correct, you are looking for how to pass the required header to the Stripe .NET SDK to enable you to use the custom checkout beta.
Is that correct?
Okay these beta headers are generally passed in the Stripe Version header.
However, .NET uses a pinned API version (like all our static-typed SDKs)
For those static-typed SDKs, we generally use beta versions of our SDKs that pin to those Stripe Version headers.
You can read about it here: https://github.com/stripe/stripe-dotnet?tab=readme-ov-file#beta-sdks
You can also use the AddBetaVersion function in the StripeConfiguration like so
StripeConfiguration.AddBetaVersion("custom_checkout_beta", "v1");
This doesn't appear to be available via the non-beta SDK... which is tough because we don't want to upgrade our entire system to a beta SDK. Unless I am missing something.
The .ApiVersion is the read-only property that you can set with the AddBetaVersion function.
My apologies. The AddBetaVersion is not available to the SDK (recent) that we are using it appears.
Unfortunately those are the two options for using beta features with a static typed SDK that I am aware of.
Should that method be available for me?
I am using the 44.9.0 version of the SDK if that helps.
Hmmm...that is the latest version
I think that would require using the beta version of the Stripe.net pacakge
OK. Bummer. I guess we won't be able to test this out then without a full upgrade. I appreciate the help. Have a great day.
Happy to shed what ๐ก I can ๐
It might be worth building a really basic Checkout integration separate from your real-world integration just to validate the behavior.
I agree. We may go that route. ๐ Thanks again.