#jasperste_invalid-city

1 messages ยท Page 1 of 1 (latest)

woeful capeBOT
#

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

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

dusty sableBOT
pearl axle
#

hi!

It seems like the validation for account.company.address.city on Connect accounts is different than on Location
yep, probably is(totally different teams internally)

#

not sure what you you can do really but open a support ticket to raise the feedback(I'll mention it internally too). I guess to unblock, maybe detect if that's the city string you have and pass Den Bosch to the Terminal API instead if it accepts that?

woeful capeBOT
#

jasperste_invalid-city

lofty goblet
#

That does work indeed. In fact, even Hertogenbosch works. It seems related to the โ€˜

pearl axle
#

yeah it accepts Den Bosch. I tested

lofty goblet
#

Tested the dash as well, that's also accepted.

#

even this works

curl https://api.stripe.com/v1/terminal/locations
-u "foo:"
-d display_name="bla"
-d "address[line1]"="1234 Main Street"
-d "address[city]"="'s-Hertogenbosch"
-d "address[postal_code]"=5200DM
-d "address[country]"=NL

#

(different single quote)

#

we can probably do a replace on city returned by Stripe the โ€˜ for now by ' and send that in for Location

Thanks for helping out!

high isle
#

Ah, good idea, to catch any other cities where this may happen! Thanks for taking the time to raise this to us so our teams can look into it.