#harinth_api
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/1300815025841246280
๐ 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.
- harinth_api, 3 days ago, 18 messages
hey there, what do you see in the payment element when you supply this?
Nothing, means the postal code is not populating, after selecting the country
I do see the postal code in the confirm request you shared, so what is the customer experience you observe?
You may need to supply a valid matching country for that to prefill. You can't prefill a canadian postal code like that if the country default is USA expecting a zip, for example, and the canadian postal code won't be stored anywhere to apply if you switch to canada
Try setting both postal & country in default values and see if that gets you what you're looking for
Okay, let me try
I have given country as "Canada" and Postal Code as "M5V 3L9", but still it didn't work.
I am trying this from India, by default when the form loads, its showing the country as India.
Not sure if that is the issue.
Yes, I noticed that. It's described elsewhere but not specifically in defaultValues -- i can file to have that improved ๐
Thank you so much
NP!