Skip to content

Commit fb405b1

Browse files
committed
MAGETWO-72839: Customer can't see available Payment Method for specific country
1 parent b481066 commit fb405b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function saveAddressInformation(
150150
$address->setCustomerAddressId(null);
151151
}
152152

153-
if (!$billingAddress->getCustomerAddressId()) {
153+
if ($billingAddress && !$billingAddress->getCustomerAddressId()) {
154154
$billingAddress->setCustomerAddressId(null);
155155
}
156156

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutPaymentSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040
<element name="goToShipping" type="button" selector="#checkout>ul>li.opc-progress-bar-item._complete>span"/>
4141
<element name="orderSummarySubtotal" type="text" selector=".totals.sub span" />
4242
<element name="billingAddressSameAsShipping" type="checkbox" selector=".payment-method._active [name='billing-address-same-as-shipping']"/>
43-
<element name="noPaymentMethods" type="text" selector=".no-payments-block"/>
43+
<element name="noPaymentMethods" type="text" selector=".no-quotes-block"/>
4444
</section>
4545
</sections>

0 commit comments

Comments
 (0)