The USPS shipping quote module is returning: "undefined: Invalid Country Name" when during checkout when the country selected is "United Kingdom". The system is working fine for other countries.
uc_countries contains the following: 826 United Kingdom GB GBR 1
which appears to be correct by http://ftp.univie.ac.at/netinfo/iso/iso3166-countrycodes.txt
Looking into the subject I came across this:
http://www.25thandclement.com/~william/USPS_ICL.html which suggest the UK should be GB-ENG or GB-WLS
Looking at the USPS site http://pe.usps.com/text/imm/fh_014.htm#ep3576772 it looks like the country code should be "GB"
This issue is making it impossible for me to accept orders from the UK.
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedI think this might be a duplicate of http://drupal.org/node/317758. The problem is USPS seems to have their own standards separate from the ISO. :-/
Comment #2
nick@guillemot-kayaks.com CreditAttribution: nick@guillemot-kayaks.com commentedOK, there is a known fix for Korea, is there one for the United Kingdom until the issue gets resolved?
Comment #3
nick@guillemot-kayaks.com CreditAttribution: nick@guillemot-kayaks.com commentedJust had problems with an order from Thailand getting an invalid country. uc_countries had it as "Thai", it should be "Thailand".
Comment #4
Island Usurper CreditAttribution: Island Usurper commentedDuplicate of #317758: Map country names in USPS from ISO-3166 to USPS value - ex: 'Korea, Republic of' and "Great Britain".