Results 1 to 4 of 4
  1. #1

    Default 3 digit country ISO codes

    Can someone tell me if the 3 digit ISO code is needed when adding a new country in Zen Cart?
    For example, Royal Mail has Madeira listed as a separate country in the EU but it isn't listed as a country in Zen Cart (I'm not sure if anyone would actually specify Madeira or if they'd put their country address as Portugal)
    I can find a 2 digit ISO code for Madeira but not a 3 digit one.
    Will it cause any problems if I add a country but leave the 3 digit ISO code blank?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 3 digit country ISO codes

    Many payment and shipping modules use that information for validating transaction details and/or validating customer addresses.
    If you don't supply it, then anything that looks for it, such as some shipping modules and payment modules, will not find it and thus won't be able to do any intended mapping, and thus the related functionality may be broken.
    It's up to you and how you intend to use it.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 3 digit country ISO codes

    Madeira isn't listed as an official country in the ISO database: http://www.iso.org/iso/country_codes...e_elements.htm
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4

    Default Re: 3 digit country ISO codes

    Thanks DrByte, I'll leave the countries list as is

 

 

Similar Threads

  1. v150 Would like Country names on Checking not ISO 2 digit
    By dharrison in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 13 Feb 2013, 06:21 PM
  2. ISO 3166 Country Codes Reference
    By Design75 in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 30 Jul 2011, 10:41 AM
  3. ISO Country Codes
    By hales in forum Managing Customers and Orders
    Replies: 2
    Last Post: 10 Aug 2008, 10:08 PM
  4. replace ISO codes for country codes
    By froldao in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 May 2008, 05:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg