Yes, I found the same thing. I was just running tests with my fix to order.php. The logic for determining the tax address was refactored in 1.5.0. With the default country and zone explicitly set to -1, this will always show tax for the store's location at PayPal. That is not the correct behavior.
My fix is to set the taxCountryId and taxZoneId from the database query result, regardless if there were any records returned. This is how the 1.3.9h version worked.
So I changed order.php:
Code:
$tax_address = $db->Execute($tax_address_query);
if ($tax_address->recordCount() > 0) {
$taxCountryId = $tax_address->fields['entry_country_id'];
$taxZoneId = $tax_address->fields['entry_zone_id'];
}
to this:
Code:
$tax_address = $db->Execute($tax_address_query);
$taxCountryId = $tax_address->fields['entry_country_id'];
$taxZoneId = $tax_address->fields['entry_zone_id'];
This results in the correct behavior for not-logged-in users using the Express button. I tested all the other checkout paths as well.
Bookmarks