#Shanto19
1 messages · Page 1 of 1 (latest)
Card holder name collection is only collected when it's necessary and it can't be configured to collect all the time: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-name
If you wish to collect the name all the time, I'd recommend disabling name collection on the Payment Element and collect on your own
there is no such a way in element that I can custom input
and send all in one call ?
like would like to use :
elements.create('payment');
stripe.confirmSetup
send the collected card hold name ?
It's possible your own field to collect cardholder name and submit along with confirmSetup or confirmPayment. You may refer to the doc here: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-customized_fields
Cardholder name can be set in payment_method_data.billing_details.name in confirmSetup
Yes Then somehow I need to add the card holder with element style
which I am using everything as default
Yup!
ahh that's alot of work!
how come you don't have card holder name ?
almost all the credit cards have that
Cardholder name is only collected when necessary, e.g. the banks/countries require it. In most of the cases, name is not required
when we are setting for future payment.
I guess we can't charge the card if we don't have the card holder name
so how come it's necessary ?
it's ALWAYS necessary
Correct me if I wrong
I am &
*\
No, cardholder name is not always neccessary even for future payments
SetupIntent is meant for future payments, so it also considers information required for future payments
Without cardholder name, future payments can still be performed
Our goal is to collect all the info
including the card holder name
and then using stripe dashboard make payment
If you're confirming that is a payment can happen without card holder name
which I doubt
then I am fine
If you wish to collect the cardholder name all the time, it can only be done with your own field.
If the Payment Element doesn't request for cardholder name in SetupIntent flow, future payment can still be performed on the saved card without cardholder name.