If you use 3 letter country code in VM you can change the submitted code into a 2 letter code following these steps:
EDIT this file : ps_epayment.php
Search for:
// Get user billing information
$dbbt = new ps_DB;
$qt = "SELECT * FROM #__{vm}_user_info WHERE user_id=".$auth["user_id"]." AND address_type='BT'";
$dbbt->query($qt);
replace with:
// Get user billing information
$dbbt = new ps_DB;
$qt = "SELECT a.*,b.country_3_code,b.country_2_code FROM #__{vm}_user_info a
left join #__{vm}_country b on b.country_3_code=a.country
WHERE user_id=".$auth["user_id"]." AND address_type='BT'";
$dbbt->query($qt);
search for:
// Get user billing information
$dbst =& new ps_DB;
$qt = "SELECT * FROM #__{vm}_user_info WHERE user_info_id='".$d["ship_to_info_id"]."' AND address_type='ST'";
$dbst->query($qt);
replace with:
// Get user billing information
$dbst =& new ps_DB;
$qt = "SELECT a.*,b.country_3_code,b.country_2_code FROM #__{vm}_user_info a
left join #__{vm}_country b on b.country_3_code=a.country
WHERE user_info_id='".$d["ship_to_info_id"]."' AND address_type='ST'";
$dbst->query($qt);
search for:
->f("country");
replace with (2 times):
->f("country_2_code");