#jo_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/1361329636528750763
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, there is not. We only collect minimal informaiton required. If you need to force collect all billing details, you can use the Address Element: https://docs.stripe.com/elements/address-element
Is there any plan to allow that in the future?
Not that I know of
Is it possible to only show the zip code element with the address element?
Yes, you can control this here: https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails
However, on the confirmation, you'd need to pass the required information if needed. Otherwise, it will error out.
This is the payment element. Is that also possible with the Address Element to only show country and zip code?
You did say Address Elemenet, it does not look like it: https://docs.stripe.com/js/elements_object/create_address_element#address_element_create-options-fields
Okay so we would need to build our own custom solution to grab the zip code from the user in countries like Brazil where zip code is not shown.
Yes
Okay thank you
Sure