Adding this to the bottom of the update_status() method in each of those payment modules might work:
Code:
// CHECK IF SHIPPING ADDRESS IS OUTSIDE THE STORE'S COUNTRY, AND OVERRIDE ORDER-STATUS TO PENDING REGARDLESS OF DEFAULTS
$sql = "select ab.entry_country_id, ab.entry_zone_id
from " . TABLE_ADDRESS_BOOK . " ab
where ab.customers_id = '" . (int)$_SESSION['customer_id'] . "'
and ab.address_book_id = '" . (int)$_SESSION['sendto'] . "' LIMIT 1";
$result = $db->Execute($sql);
if ($result->RecordCount() > 0 && $result->fields['entry_country_id'] != STORE_COUNTRY) { // or might use SHIPPING_ORIGIN_COUNTRY
$this->order_status = 1;
}
Bookmarks