#harinth_api

1 messages ยท Page 1 of 1 (latest)

shrewd brambleBOT
#

๐Ÿ‘‹ 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.

clever tree
#

hey there, what do you see in the payment element when you supply this?

echo ferry
#

Nothing, means the postal code is not populating, after selecting the country

clever tree
#

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

echo ferry
#

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.

clever tree
#

CA not Canada

#

The country needs to be specified using 2-char ISO codes

echo ferry
#

Yes, that worked!!!

#

But in the doc, its not mentioned to use Country Code

clever tree
#

Yes, I noticed that. It's described elsewhere but not specifically in defaultValues -- i can file to have that improved ๐Ÿ™‚

echo ferry
#

Thank you so much

clever tree
#

NP!