Hacker Newsnew | comments | show | ask | jobs | submit login

Hmm what takes more time? An 800 word blog post or adding an "Outside US" option to the select control for "State"?



There are countries outside the US where the province may be required for proper routing of mail.

I'm still working on my address support. It's hard, considering there are more de facto countries than are legally recognized by any international body, and most of them are one-offs in terms of address formatting.

-----


I live in one of those countries and I think people are over-analysing the problem. I think you're perfectly safe with:

Addr 1 (req) Addr 2 (optional) State (req but including "Outside US") Country (req) Post/Zip Code (optional outside US)

When I order stuff from the US I just put my city and state in the Addr 2 line.

In the end this is a classic example of the "perfect being the enemy of the good". Look at where your sales are going and allocate validation efforts accordingly. A lot of sites include Canadian provinces in the "state" field for example.

-----


This piece of advice is so obvious that it makes me wonder why we need to have this discussion in the first place.

-----


I didn't have any credit card forms to write, so it's OK, I had the time.

-----




Applications are open for YC Winter 2016

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: