#๐๐๐
1 messages ยท Page 1 of 1 (latest)
What do you mean by a specific card? A specific BIN or a brand or?
I meant blocking a brand, yeah. i see now the page I linked is not the thing I meant ๐
we were looking to block Amex
What steps have you taken so far to attempt this?
I've only come here to ask.
Right now i'm not sure if there even is a built in way to block certain credit card brands
You'll need to use this function with your CardField: https://stripe.dev/stripe-react-native/api-reference/index.html#createPaymentMethod
Documentation for @stripe/stripe-react-native
That will return a pm_xxx object, including a card field: https://stripe.dev/stripe-react-native/api-reference/interfaces/PaymentMethod.CardResult.html
Documentation for @stripe/stripe-react-native
You can use brand there to determine is AMEX, etc and then show an error in your UI
There's no UI to automatically handle this