#axit_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/1357651957224837121
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
As you can see here, there are no types for the crypto payement option here
Does it work if you type it yourself? If there's a TypeScript issue, just mark the array as any.
What does it say?
Could you please share the Checkout Session ID/URL?
I don't see that you're sending payment_method_types parameter to the API. Are you sure this is the correct URL?
It can't be I'm afraid
How so?
in the above conversation if you check the SDK doesn't accept crypto as a type
maybe zod parsing or something might be getting rid of it ?
i have to pass it as any
That doesn't matter, it's not typed yet as it's a beta. You force pass crypto and ts-ignore the IDE
Yep, that should still work. But as you can see your request does not include the payment_method_types param
okay let me try again and send
okay found the issue, my bad, but the stripe SDK is throwing this error
when trying to pass crypto as any
@here
I'd guess that your account does not yet have access to use Crypto payments – still in beta
how do I get access to it
While customers worldwide can use crypto as a payment method, Pay with Crypto is currently only available to a limited set of US businesses. If you don’t see Crypto in your payment method settings, we haven’t granted you access yet.
I don't think you can specifically request access, it's just 'coming soon'
cool
Maybe try: pay-with-crypto@stripe.com.