#axit_code

1 messages · Page 1 of 1 (latest)

cerulean wingBOT
#

👋 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.

rough summit
#

Hi, let me help you with this.

elfin wedge
#

As you can see here, there are no types for the crypto payement option here

rough summit
#

Does it work if you type it yourself? If there's a TypeScript issue, just mark the array as any.

elfin wedge
#

let me try that

#

nope its not working

rough summit
#

What does it say?

elfin wedge
#

only see these options

#

no crypto option

rough summit
#

Could you please share the Checkout Session ID/URL?

cerulean wingBOT
rough summit
#

I don't see that you're sending payment_method_types parameter to the API. Are you sure this is the correct URL?

elfin wedge
#

yes

#

it seems like the sdk is not working correctly

lilac fjord
#

It can't be I'm afraid

lilac fjord
elfin wedge
#

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

lilac fjord
#

That doesn't matter, it's not typed yet as it's a beta. You force pass crypto and ts-ignore the IDE

elfin wedge
#

i see

#

how bout i send another param with crypto and can you then check ?

lilac fjord
elfin wedge
#

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

lilac fjord
#

I'd guess that your account does not yet have access to use Crypto payments – still in beta

elfin wedge
#

how do I get access to it

lilac fjord
#

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'

elfin wedge
#

cool

lilac fjord