#prashant-ungerboeck-elements-visamc-only
1 messages · Page 1 of 1 (latest)
If you create the Payment Method asynchronously and then check the Payment Method's card.brand field, you should be able to surface an error that says "<some card brand> not accepted" and redisplay the payment form
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-brand
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.