#dhruvs
1 messages · Page 1 of 1 (latest)
HI 👋
Currently we only have options for collecting this either on auto or never.
https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-name
If you need to always collect the customer name you coudl either create your own name input or combine the payment element with the Address Element.
https://stripe.com/docs/elements/address-element
Thanks! Is there a way I could use Stripe's input styles so it's all synced?
Unfortuantely we don't have an easy way to extract our styles other than looking at the rendered elements with your dev tools
Thanks! With the address element - is it possible to just collect the name?
Not exactly. You can set it to mode: billing to just collect the billing address info