If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Passing ISO Country Code, Not Short Name

Passing ISO Country Code, Not Short Name

Locked

Started by nicoled on 23 Apr 2007, 4:54 PM · Views: 1,148

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
23 Apr 2007, 4:54 PM
#1
nicoled avatar

nicoled

New Zenner

Join Date:
Oct 2004
Posts:
11
Plugin Contributions:
0

Passing ISO Country Code, Not Short Name

I am wondering how I can switch from passing the short name of a country in the billing address, to passing the ISO 2 letter code instead to the payment gateway.

I haven't had a problem until I had a customer from South Korea. Zen Cart passed "Korea Republic of" to my payment gateway and the gateway did not recognize the country and the sale would not go through for that reason (even though "Korea, Republic of" is the ISO short name for the country...).

All the payment gateway company could reccomened (because they couldn't give me the full name of South Korea that would be recognized by their system!) is to pass the 2 letter country code instead.

How can I do this for all transactions?