#bjoni_unexpected
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/1414568175772893227
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey! looking into this now
do you have a link to your checkout page where we can try to reproduce this?
I've done some testing and I've been able to reproduce this in the old CardElement, but in the Payment Element, the card is correctly tagged as Amex
it looks like this might be related to some of our test mode code which controls the card brand mapping for test cards
we can investigate this internally, but in the meantime this issue should not affect your live mode integration
if you need to test the correct card brand mapping, I'd recommend testing in the Payment Element
you can try it out in the demo here: https://docs.stripe.com/payments/payment-element
to confirm, you're not doing anything wrong and this appears to be an issue on our side - thanks for flagging it with us!
https://codesandbox.io/p/sandbox/react-new?utm_source=dotnew this is a sandbox i created for this issue
so in live mode the CardNumberElement should work fine ? this issue is only in test mode? The payment element seems to work fine but based on the project i have i need to customize some styles and thats why iam using CardNumberElement
yes that's correct
in test mode, we have specific code that controls the mapping of our test card numbers
this is different in live mode because real card numbers are being used
sometimes issues like this can happen in livemode, but it's rare usually related to a temporary mapping change
if you ever encounter this issue in live mode, please let our support team know, but this specific issue is limited to test cards
okay thank you,, i believe this is also the case where u can pass the validation when using 3 digit cvc instead of 4 i believe for the amex