Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Payment Sheet name field and pay button listener access #7334

Open
onirban27 opened this issue Sep 20, 2023 · 3 comments
Open

[Feature] Payment Sheet name field and pay button listener access #7334

onirban27 opened this issue Sep 20, 2023 · 3 comments
Labels

Comments

@onirban27
Copy link

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?

@seanzhang-stripe
Copy link

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

@onirban27
Copy link
Author

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.

@seanzhang-stripe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants