I you ever wondered how you can check if a Country, resp. a Country Code, is in the EU, i did the following:
Magento has a config value: eu_countries that lists all Countries of the EU.
You can find it in the backend under:
Configuration -> General -> Country Options.
Against this list you can validate your country code, f.e. that you got in an billing or shipping address of an order.
Continue reading “Check if a country is an EU country in Magento”