Patches: Browse | Submit New | Admin
New post_code method that calls either existing state_from_zip for US or province_from_postal_code for CA. Examples: Shipping::Base.post_code("US", 63109) => "MO" Shipping::Base.post_code("CA", "V5A 4W4") => "BC" Shipping::Base.province_from_postal_code("V5A 4W4") => "BC"
Add A Comment:
Date: 2007-07-12 03:40 Sender: Les Wight Someone should verify the Canadian postal code lookup hash just in case an ignorant US person like myself screwed up.