stripe-ios
stripe-ios copied to clipboard
[Question] Request Card holder name when using PaymentSheet
Is there any way to request the cardholder name when using Stripe.PaymentSheet
?
We're using carthage version - github "stripe/stripe-ios" "21.6.0"

@romansorochak Hi, are you asking if there is a way you (the developer) can read the card holder name from a property on PaymentSheet
?
@porter-stripe No.
We want to have additional text field Cardholder name
on that PaymentSheet
.
@romansorochak ah got it! We currently don't support this, and don't have any immediate plans to add support but it may come in the future. We'll keep this issue updated if anything changes.
So for us in order to support it we will need to go with custom approach and create our custom payment sheet ?
@romansorochak starting to think about this a bit, I was wondering, why did you need this field?
Hi I am also wondering about this possibility. I see that the cardholder's name is asked in your checkout page which makes your different solutions (checkout vs PaymentSheet) not completely aligned in terms of functionality. See https://checkout.stripe.dev/
Another question also, if not asked in the PaymentSheet via a text field, is it an information that you retrieve from the banks ? If yes would it be possible to provide it in the events ?
Hi @romansorochak @jfougere sorry for the slow response on this GitHub issue, but in early 2023 we released PaymentSheet.Configuration.defaultBillingDetails
, which allows you to always collect the customer's name via PaymentSheet. You can read more in our docs here. I'll be resolving this now, but please feel free to open another issue if you have further suggestions!