stripe-android
stripe-android copied to clipboard
[Feature] Payment Sheet name field and pay button listener access
I need to match the card holder name with the booking person name and decide he can pay or not. I am unable to find any documentation regarding this. Is this available in the SDK? If not any other way to achieve this?
You can't retrieve the PaymentMethod object from PaymentSheet, but you can set up a custom radar rule and use the cardholder_name attribute to block names
You can't retrieve the PaymentMethod object from PaymentSheet, but you can set up a custom radar rule and use the cardholder_name attribute to block names
You're talking about blocking specific names. But i want to continue with the payment if my product buyer name matches with the card holder name. I couldn't find any options in the custom radar rules.
You can also use the same cardholder_name attribute to create a custom Radar Allow Rule. However, you would need to maintain a list of cardholder names for comparison.