Skip to content

Commit de232b3

Browse files
committed
AC-13828::Unable to place order with paypal express checkout when we are directly checking out from cart page
1 parent fee5d2e commit de232b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Quote/Model/CustomerManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function validateAddresses(QuoteEntity $quote)
159159
$quote->getShippingAddress()->getCustomerAddressId()
160160
);
161161
}
162-
if (empty($addresses) && $quote->getCustomerIsGuest()) {
162+
if (!empty($addresses) && $quote->getCustomerIsGuest()) {
163163
$billingAddress = $quote->getBillingAddress();
164164
$customerAddress = $this->customerAddressFactory->create();
165165
$customerAddress->setFirstname($billingAddress->getFirstname());

0 commit comments

Comments
 (0)