#denielo6_error
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/1366690328832380928
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
yes we have an "incorrect number" test card: https://docs.stripe.com/testing#declined-payments
with this one it's not possible to simulate this case. It seems it triggers validation error, instead of the confirmPayment error
so it might be handled differently
oh I see. then no it's not possible to test with the Payment Element.
but there's nothing to test really, the Payment Element will handle this for you automatically.
this is how it looks with this card
this is what I'd like to confirm, if it will be handled in the same way as on the screenshot if this error happens at confirmPayment moment, because it's not documented here https://docs.stripe.com/payments/payment-element#errors
and we are not sure if we can skip handling this error on the side of our product
I think the documentation is missleading. the Payment Element will handle the incorrect_number as shown in the screenshot you shared