#tjon_api

1 messages ¡ Page 1 of 1 (latest)

hazy fjordBOT
#

👋 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/1357000727653777701

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

wild sundial
#

Weird error message

#

Looking

#

it is indeed a card

#

Can you share your code for creating the confirmation token?

celest bough
#

sure

#

one second

wild sundial
#

Likely you are passing payment_method_options[us_bank_account][verification_method] there

#

Which, even though the confirmation token is a card, still gets passed through and causes the error in the setupintent creation request

#

So really, you should only pass payment_method_options[us_bank_account][verification_method] in elements options when collecting us_bank_account

celest bough
#

ok how would i be able to check that when i go to create the confirmation token

#

*that is indeed what i am doing

#

when creating the element we set it tat way so if they choose bankaccount they only have the instant options but from the sounds of things we would then need to remove that when we process a card

wild sundial
#

Since instant is the default

#

The error is there because of the mismatch

celest bough
#

this is interesting

#

ive got another similar error but on payment intents

#

with the instant and automatic flipped

#

req_ApH34P2IYl2FZp

wild sundial
#

Weird