Address Formatting in PP_ECO_PHP.php (PayPal Pro UK)
For your information in function WA_PP_ECO_GetValue starting on line 345 you do not retrieve the street2 value which could lead to issues with delivery as the street2 field is very often used for the village name in the UK and if the street1 address exists in the postal town as well as the village confusion reigns !
I simply added the following code at line 374:
case "STREET2":
$tValue = "SHIPTOSTREET2";
break;
and this then tied in with the session variable being set on pp_confirm.php
<?php
if (!session_id()) session_start();
if("" == "") {
$_SESSION["eCartCheckoutForm_shipping_street2"] = "".WA_PP_ECO_GetValue($WA_PP_ECO_GetResult, "Street2") ."";
}
?>