#ab92023
1 messages · Page 1 of 1 (latest)
Check this guide:
https://stripe.com/docs/card-brand-choice
You can also follow this approach:
https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=payment#create-pm
Once you get the payment_method, you can add some custom validation rules:
https://stripe.com/docs/api/payment_methods/object#payment_method_object-card
We’re using the csrd element and confirm card payment method. Would it be feasible to accept the payment and authorise using this method, but then cancel the payment intent if the card brand is not visa or Mastercard? Would we get charged for this transaction if cancelling the payment intent?
What you mean by "csrd element"?
Would it be feasible to accept the payment and authorise using this method, but then cancel the payment intent if the card brand is not visa or Mastercard?
You need to update your integration (if it's not already) following this flow:
https://stripe.com/docs/payments/accept-a-payment-deferred
You collect the PaymentMethod first => you do your checks on the card => if ok, confirm the payment