#shawn_unexpected

1 messages · Page 1 of 1 (latest)

chrome sirenBOT
#

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

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

small hedgeBOT
minor valve
#

👋 happy to help

latent sapphire
#

hello tarzan

#

in the past two months, I’ve had two orders fail to complete payment. The error message states: “The PaymentMethod provided (link) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card. Alternatively, update the allowed payment method types for this PaymentIntent to include ‘link’.” I’d like to know the reason for this payment failure.

#

BTW, its about Set future payment function

minor valve
#

would you mind sharing the requests that failed?

latent sapphire
minor valve
#

would you mind pasting the request ID? req_xxx

latent sapphire
#

request-id: req_KZzsPEAxR7xy6G

#

THANKS

minor valve
#

the one you shared I think is the same but it starts with g5...

#

but no worries I could look at this one as well

#

I think there are 2 params missing here

#

1- off_session: true
2- automatic_payment_methods.enabled: true

#

once you add both you should be good

latent sapphire
#

This function has been stable in the past, but occasionally encounters such obstacles, which is quite strange.

网络搜索

minor valve
#

the reason is that by default card payments are enabled

#

but the payment method that is setup for future usage here is Link

#

so if you don't pass automatic_payment_methods.enabled : true then you won't be able to confirm the PaymentIntent with PaymentMethods other than cards

chrome sirenBOT
latent sapphire
#

Does the "link" refer to APPLE PAY or GooglePAY?