OK, everyone in America knows what a state is. So three's no problem when Foxycart returns a string like this:
I can figure it out to mean "WISCONSIN"
But when my customer is from Japan, I see this:
.... trouble! There ain't no such place as "40" in Japan.
Most likely, this number 40 is probably a lookup value for the prefecture of Fukuoka. OK, I can create and install a lookup table for the 47 Japanese prefectures.
Now how do I figure out what
means in France ?
means in Portugal?
This numeric value is *NOT* a postal code, so I must not include it on the postal address.
How about if Foxycart translates these numbers into reasonable, useful text objects:
like in France, shipping_state 11 means PARIS
or in Portugal, shipping_state 17 means uh, I dunno...
EDITED by @brett
to correct formatting