#loaderchips_code
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/1329665239255355453
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hey Orakaro
hello
Can you provide the screenshot where you see that "auto and never"?
Ah I see, and you set this as auto?
i m actually not setting this at all. the assumption was by default it will show up <PaymentElement
options={{
layout: 'tabs',
paymentMethodOrder: ['card', 'apple_pay', 'google_pay'],
}}
/>
This is email inside the billing details field and it depends on the country and the payment method
If you want to explicitly collect your customer email, it's better to implement a different field outside the PaymentElements
Yes, then pass to the PaymentElement's defaultValues
You can also look at Link Authentication Elements, but only if you want Link 🙂
- Pass in an email address: You can pass an email address to the Payment Element using defaultValues. If you’re already collecting the email address and or customer’s phone number in the checkout flow, we recommend this approach.
- Collect an email address: You can collect an email address directly in the Payment Element. If you’re not collecting the email address anywhere in the checkout flow, we recommend this approach.
- Link Authentication Element: You can use the Link Authentication Element to create a single email input field for both email collection and Link authentication. We recommend doing this if you use the Address Element.
will default values approach work if i dont use link
It should work as I suggested as a custom field, it's the 1st line "Pass in an email address" above too