You need to add the , 'state_2_code' to $post_variables['state'] = isset($address->virtuemart_state_id) ? ShopFunctions::getStateByID($address->virtuemart_state_id) : ''; so that it looks like this $post_variables['state'] = isset($address->virtuemart_state_id) ? ShopFunctions::getStateByID($address->virtuemart_state_id, 'state_2_code') : ''; Paypal give an address error message and prevents checkout even if override address is checked. It seems to be in papalapi, might need to be added to paypalexp.php and paypalhosted.php as well.
Hello
Thanks, it was only missing in the standard version :)