google-code-export / google-checkout-oscommerce

Automatically exported from code.google.com/p/google-checkout-oscommerce
1 stars 0 forks source link

Using 'Shipping Zone option' with US territories included #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a zone with all US states
2. Add Puerto Rico to the same zone, so it will be registered twice: as a
US (US/PR) state and as a country (PR/All States).
3. Try to set up for the merchant carrier use the 'Shipping Zone'. You will
receive the most popular message 'Oops...'

What is the expected output? What do you see instead?
I would expect to get the shipping module enable for the zone and let
customer to register as from US/PR "state" or from PR. Most likely there
will be the same issue for all/most US territories.

What version of the product are you using? On what operating system?

Please provide any additional information below.
The problem with AddAllowedPostalArea: the system does not except the blank
'postal pattern'.

If change the declaration as follows: AddAllowedPostalArea($country_code,
$postal_pattern = "*"), everything will be fine.

Original issue reported on code.google.com by atnap...@gmail.com on 29 May 2009 at 4:54