#manatee_docs

1 messages ยท Page 1 of 1 (latest)

weary flaxBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

small grove
#

You'd probably use the API

thorn lance
#

can i ask for example incorrect postal code?

small grove
small grove
thorn lance
#

๐Ÿ˜ฒ
So i can create customer with param given above tax[validate_location]: 'immediately and wrong tax location
i.e address.country USA address.postalCode NotExisting
and i won't get error?

small grove
#

No, you should get the error. That is what you asked for:

How can i create customer to get that error

thorn lance
#

ye, but then i asked about incorrect tax location example, and You said that anything will work

small grove
#

Yes, if you aren't validating the address for tax purposes then any string is valid for an address

#

But if you want to validate the address for automatic tax computation, and it doesn't meet the requirements, you'll get the error. Try it, you'll see

thorn lance
#

oh i see, got it now, Thanks for all the help!

#

so if i pass:
address.Country = USA
address.state = not existing
with param tax[validate_location]: 'immediately
i should get error instantly right?

small grove
#

Yes that is my understanding

thorn lance
#

thanks. Have great day

small grove
#

(as country: 'USA' is invalid โ€“ we require two-letter codes, so us)