#manuborches
1 messages · Page 1 of 1 (latest)
While I wouldn't generally suggest such a restriction, to achieve this you can look at this guide about adding custom actions/steps during payment:
https://stripe.com/docs/payments/run-custom-actions-before-confirmation
At this point you can add custom steps to inspect the payment method details:
https://stripe.com/docs/payments/run-custom-actions-before-confirmation#insert-custom-logic
For example, looking at the card country: https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-country
And then return messaging of your choice to customers