Page 1 of 1

[1.4.0] U.S. address format not supported

Posted: Thu Feb 04, 2010 1:59 am
by payflow
Right now, U.S. addresses appear as:

Address_1
Address_2
City, Zone Zip
Country

When they should be:

Address_1
Address_2
City, Zonecode Zip
Country

This is incorrect and there is no way to (currently) correctly use the Zone Code without displaying either an unappealing dropdown (change the full state names to the abbreviations/zone codes) or change the code to only display zone codes. There should be an option in the code to use '{zonecode}' in the address format. Why only '{zone}'? No idea. I've hacked up my code to support outputting the correct data but the wrong format still occasionally shows up in various (unimportant) places.

Re: [1.4.0] U.S. address format not supported

Posted: Thu Feb 04, 2010 3:51 am
by Qphoria
What?
You are saying this is wrong:

Code: Select all

John Smith
123 Easy St
Chicago, Illinois 60606
USA
But this is right:

Code: Select all

John Smith
123 Easy St
Chicago, IL 60606
USA
?

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 6:11 am
by peteVA
Absolutely!

Only the second is correct as far as the US Postal Service is concerned.

By the book there should also be 2 spaces between the 2 letter State code and the Zip Code.

And when asking for the address from customers it should say State. Ideally, there should be a dropdown with the state name spelled out that will insert the 2 digit code where required.

The USPS, and for that matter the couriers prefer the 2 letter code and the Zip.

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 6:17 am
by Qphoria
But what isn't "supporting" it?
Its a visual display. The only case where it would matter would be if you had some sort of label printing API on the backend, and that has access to the "code" version of it anyway. For printing purposes, Showing the full word is certainly acceptable.

Not a bug. Feature request

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 6:20 am
by Daniel
this is not hard to fix.

i'll add it to 1.4.1 now.

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 6:27 am
by Xsecrets
Besides last I heard the USPS will deliver mail just fine with the state spelled out, they simply prefer the two digit state.

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 6:35 am
by Qphoria
I heard they prefer ALL CAPS and NO PUNCTUATION OR ABBREVIATIONS except for the hyphen separating the 9-digit zipcodes

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 6:40 am
by peteVA

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 6:43 am
by Qphoria

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 8:21 am
by peteVA
Qphoria wrote:Yep.. did
http://pe.usps.gov/cpim/ftp/pubs/Pub28/pub28.pdf
You are correct.
As usual! :)

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 9:57 am
by Qphoria
peteVA wrote:
Qphoria wrote:Yep.. did
http://pe.usps.gov/cpim/ftp/pubs/Pub28/pub28.pdf
You are correct.
As usual! :)
first i've seen :)

Re: [1.4.0] U.S. address format not supported

Posted: Fri Feb 05, 2010 11:38 am
by peteVA
Qphoria wrote:
peteVA wrote:
Qphoria wrote:Yep.. did
http://pe.usps.gov/cpim/ftp/pubs/Pub28/pub28.pdf
You are correct.
As usual! :)
first i've seen :)
Maybe First Time For Everything, then.