Skip to content

Commit b3d3f2e

Browse files
MAGETWO-71675: Customer can't see available Payment Method for specific country
1 parent 86e2de4 commit b3d3f2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Model/ShippingInformationManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function saveAddressInformation(
161161
$address->setCustomerAddressId(null);
162162
}
163163

164-
if (!$billingAddress->getCustomerAddressId()) {
164+
if ($billingAddress && !$billingAddress->getCustomerAddressId()) {
165165
$billingAddress->setCustomerAddressId(null);
166166
}
167167

0 commit comments

Comments
 (0)