#gustavo-card-element-migration
1 messages · Page 1 of 1 (latest)
PaymentElement doesn't ask for cardholder name by default
It only asks for it for certain payment method types
One option is similar to how you pass it to the card element, You add your own field to collect this info and pass it in when you call confirmPayment with PaymentElement
OR the other option is to integrate address element
https://stripe.com/docs/elements/address-element/collect-addresses
however, i'm not sure if the latter fits your usecase as it also requires collecting some sort of address
Thanks @opaque igloo , yeah so will check with product team here if they really need that field, because looks like Stripe does not require that for the payment, right.