Bugs & Feature Requests
Gateways, Merchant Accounts, Bank Accounts, Oh My!
The Foxy forums are on the move!
We're in the process of
moving our forums over to a new system
, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to
reach out to us via email
how to get country and state name?
how to get country name and state name in foxycart. in xml datafeed i am getting
(for India) and 40 (for state ). but i want full country name and state name. please suggest some help.
That's probably what you're after
For the state value… I'm not sure about that, off hand. Whisper me a transaction ID and we can take a look.
The link you specified above didn't help me. what i want is ....i need to get full country name and state name....i am getting short codes instead i need full country name and state name...example Country : INDIA and State : Delhi etc...
The link Brett provided there links on to the code standards we use for the country codes. What he was referring to there was using the standard country code you can get the corresponding name based on that.
In terms of the transaction where you're seeing "40" for the state - could you please let us know the store and the transaction that was for so we could take a look?
for your reply...
i have found a way for the above mentioned problem.
I am Getting Country codes For all countries it is working fine but my client is asking State code also.
I am getting state code for US Country only.
Please give me solution for this
Thanks in Advance
, can you clarify what you're getting currently, and what you'd like to see instead?