#mathew
1 messages · Page 1 of 1 (latest)
What kind of custom validation? can you share more details/example?
yes, i want ot block card type ie.Amex based on a condition
card brand* to be exact
earlier i had been using car element, which was possible in that but now i have migrated to payment-element
You can follow this guide:
https://stripe.com/docs/payments/accept-a-payment-deferred?type=setup
You can collect the PaymentMethod first, check the cardBrand and then create/confirm the Setup.
Hi! I'm taking over from my colleague. Please, let me know if you have any other questions.