Small addon to any shipping module.
Possibility to activate shipping module for selected country only or for all country except selected.
Legend: 
Download

Report
I placed this file in, very good easy way of restricting the country SHIPPING to so changed it to shipping address instead of billing address
File is attached
I have just modified the last persons file
to mistersoft
this way is easier for everyone! Why do you change several files if it goes with three lines in one file?
Fix one bug. :)
To LED-store:
For programmer you way is easier. :)
Much more easier way to do this, you have only to put in this little code, nothing else:
// Deactivate if billingadress is not the specified
if ($order->billing['country_id'] != "204") {
$this->enabled = false;
}
1. Locate next lines in any payment module for wich you want to add this code
============= BEGIN =================
// class methods
function update_status() {
global $order;
if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_RECHNUNG_ZONE > 0) ) {
$check_flag = false;
$check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_RECHNUNG_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id");
while ($check = tep_db_fetch_array($check_query)) {
if ($check['zone_id'] < 1) {
$check_flag = true;
break;
} elseif ($check['zone_id'] == $order->delivery['zone_id']) {
$check_flag = true;
break;
}
}
if ($check_flag == false) {
$this->enabled = false;
}
}
================== END ====================
Add the code above directly after "}"
With this option every country is disabled for this module except the definied one.
You also can change:
if ($order->billing['country_id'] != "204") {
to:
if ($order->billing['country_id'] == "204") {
Now every country except the definied is enabled for this module.
Best regards,
LED-Store.ch
Small addon to any shipping module.
Possibility to activate shipping module for selected country only or for all country except selected.