#beastboy_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/1227670201059774535
đ 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.
- beastboy_code, 30 minutes ago, 29 messages
- beastboy_customer-defaultpm, 1 day ago, 14 messages
- beastboy_code, 5 days ago, 44 messages
- beastboy_docs, 5 days ago, 14 messages
Hi, can you clearify what you mean with 'placeholder text for the zip input in payment element'? Are you trying to collect your own zip code and then pass that information on the confirmation request? Can you add more details here?
Taking a look
Confirming that you can't change the placeholder zip in the Payment Element, https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options. Can I ask why you'd want to change this and what you'd want to change this to?
The alternative would be to turn off the billing details fields, https://docs.stripe.com/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails by passing 'never' and have your own UI to collect these details with your own placeholder. Then, at the confirmation, you'd want to pass along that address details, https://docs.stripe.com/js/payment_intents/confirm_payment#confirm_payment_intent-options-confirmParams-payment_method_data-billing_details.