#wesley-s_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1400831108051898439
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- wesley-s_unexpected, 1 day ago, 36 messages
Hello
The PaymentElement does not require name of the customer in all cases. It only collects the customer name for payment methods that require it.
With that said, you can add your own field and pass the name as defaultValues.billingDetails.name to prefill the field when the PaymentElement requires it.
https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-defaultValues-billingDetails-name
OR you can disable the field, yeah and pass the name as part of confirmParams.payment_method_data.billing_details.name - https://docs.stripe.com/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-payment_method_data-billing_details
You can disable it using fields parameter when you create the Payment Element - https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-name
Hello, I know that, but my concern is specifically about the card payments. For example, I live in Brazil and all the onlyne card payment forms I remember filling required my name and it had to match the card
The system I'm working on will be used in various places around the world and I want to know if there are cases that the name is a required field for card payments like it is here
As far as I know, the name isn't required for Card Payments in Brazil either (I don't think Payment Element requires the name field to be submitted when Brazil is selected in the country dropdown)
My team on discord won't be familiar with compliance + country regulations unfortunately. So I can't say if it'll be required somewhere/everywhere OR not.
You could try and talk to Stripe Support to see if they know
https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.