ISO 4217

Posts: 29
Joined: 09/26/2007

hallo,
I'm developing a new payment module. I must use the currency format defined by ISO 4217 (http://en.wikipedia.org/wiki/ISO_4217_currency_code), so I just want to know if there is a place in Ubercart source code where I can find the list of the three letter codes defined by ISO 4217 or if I have to add this information directly into the module that I'm developing.

thanks
nicola

Posts: 173
Joined: 08/13/2007
Cool profile pic award.Getting busy with the Ubercode.Internationalizationizer

Country codes can be imported by .cif files in :
/admin/store/settings/countries/edit

More info on country codes and .cif files:
http://www.ubercart.org/docs/developer/252/country_import_files

Discussion on this topic:
http://www.ubercart.org/forum/internationalization/205/countries_zones_c...

Kees

Posts: 4695
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Further, if you need a comprehensive list I think there's a currency API module on Drupal.org. We took a function from that out of our store module as it was misplaced, so there is no place in core to validate ISO currency codes.

I think a more robust i18n system in Ubercart should accommodate this... I'll keep it in mind when I work on the roadmap for the future.

Posts: 29
Joined: 09/26/2007

ok, thankyou!

nicola