Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
6 Oct 2008 at 19:05 UTC
Updated:
2 Jan 2014 at 23:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
greenskin commentedThere might be more of these types of issues for other countries. The list which I found to compare country names with is http://pe.usps.gov/text/imm/immctry.htm. Perhaps all country names need to correspond to those in this list to ensure that USPS always recognizes the country.
Comment #2
rszrama commentedI'd rather ensure that country names correspond to the ISO-3166 standard. The name it has now is the correct name, so we probably just need to make sure the USPS module has some way to map names to what they're expecting. Would be nice if they could go with the international standard, too. : P
Comment #3
cha0s commentedGenerated an array from that USPS page. I attached a patch for 2.x here...
Comment #4
cha0s commentedHrm, looks like my patch didn't get attached. Drupal update burp probably... tryin' again:
Comment #5
cha0s commentedWell, looks like it isn't working. I've put it up on my site for your viewing pleasure. http://therealcha0s.net/tmp/uc_usps.country.patch
Comment #6
rszrama commentedWhat does that func do?
Comment #7
cha0s commentedThe function maps a 3 digit ISO code to a country name that USPS can understand. I got patches for 1.x and 2.x now, as well. Drupal's attach function here is still borked though, so...
http://therealcha0s.net/tmp/uc_usps.country.1.x.patch
http://therealcha0s.net/tmp/uc_usps.country.2.x.patch
Comment #8
Island Usurper commentedSo, I can't get a quote to ship something to Great Britain. That's probably the most often requested change that this issue needs to address. I think that USPS would use different names for some of the same country codes (Wales, Scotland, England) and this array wouldn't be able to handle that.
Comment #9
kmontyAny status updates? This is a huge problem with Ubercart, in my opinion.
Comment #10
Island Usurper commentedComment #11
kmontyHow is this not a critical bug? A core module of Ubercart does not perform its advertised function. According to the forums, this has been an ignored issue since late 2007. That seems like a big deal to me.
If I want to use USPS over fedex/ups for international shipping (which I do), I have to accept the fact that a number of customers will not be able to purchase products from my website.
Comment #12
greenskin commentedI agree, this issue should be set as critical as it should either not have USPS option for international or fix this issue.
Comment #13
GreyHawk commented#7 & #8 -- Related to this? Update the UK country file to include all zones and this? USPS ICL vs. ISO Country Id's
Comment #14
kmonty#326836: Update the UK country file to include all zones Is not related, although it is an important issue. The ubercart forum issue is related.
Comment #15
Eric Link commentedThis is a show stopper for my client right now; they are shipping UPS, FedEx, USPS and USPS is the preferred for international. I appreciate the need for a long term solution but right now it's difficult to figure out what the work around is? I could put code in the USPS module to check for GB and switch to UK, or change the country file. I'm going to change the country file and see if fedex/ups care. If they do, I'll change the code for the USPS module...
Comment #16
Eric Link commentedUpdate: for my case, the attached works as a workaround (USPS module should deal w/ this really).
I ship international via USPS only, so switching the country file to this one, w/ name changed from "United Kingdom" to "United Kingdom - (Great Britain)" allows the country name to pass USPS validation.
Comment #17
Island Usurper commentedI think I'd rather have substitute the right country names in the messages to USPS than change the country name on all of the select elements throughout Ubercart.
Cha0s, I don't think your patches are available from your machine anymore. Can you post them here again?
Comment #18
rszrama commentedComment #19
Island Usurper commentedActually sat down and compared Ubercart's list of countries to the Postal Service's. We probably should have specified that country import files should be in English and use the t() function, but that's water under the bridge now. Even still, the list isn't as long as I thought it would be.
Comment #20
Island Usurper commentedI can get quotes for shipments to the UK and the Republic of Korea with this patch. I think it's interesting that you only need to know the country to get a quote.
Committed.
Comment #21
elijah lynnWhat is the status of this functionality making it into the next RC?
We can't get shipping quotes for Turkey with RC6.
Comment #22
Island Usurper commentedIt's in RC7.