#nicolas_api
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/1220311117914701915
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
This issue I have is with cardNumberElement.on('change', handler).
hi! hmm maybe it's just a bug, this feature in CardNumberElement is quite new
but to be honest I think that's expected?
it's brand that you're looking at in that event right? The brand never changes. It's only the network that changes. They're different things.
you'd still have a brand:"mastercard" Card PaymentMethod, just when you process it, the network used will be cartes_bancaire
cardElement.on('networkschange', handler) is indicated as depracted
Can we stil continue to use it, as there is a real need for this.
For exemple, if a French customer with a Carte bancaire / mastercard cobranded card paying on my german store : I may want to only accept the mastercard network for this. So I would need to detect both networks
it sill works yes and the event has not been removed
is there any plan of removal ?
are you sure that's allowed?
per https://docs.stripe.com/co-badged-cards-compliance?type=web-elements&ui=card-element#integration-requirements you have to give them the choice and accept their choice. If they want to process that " Carte bancaire / mastercard cobranded card" on CB, you must allow them.
don't know
none of this applies to anything except CB
in case of CUP / Mastercard cobranded card, what is considered as the "brand" ?
dunno, I think it depends on the specific BIN
Can I configure in Stripe admin the brands I only want to accept otherwise ?
can you clarify the ask/explain a use case just so I fully understand what you want?
Overall no, there aren't settings for that, but there are ways you could configure your frontend code to not process a payment when you detect a certain brand; or you can use custom Radar rules to decline payments where the card has a certain brand.
Are you still here?