Skip to content

Commit 83e37c2

Browse files
committed
AC-14241::Not able to place the order with the guest
1 parent df92deb commit 83e37c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ public function validateAddresses(QuoteEntity $quote)
163163
$billingAddress = $quote->getBillingAddress();
164164
$customerAddress = $this->customerAddressFactory->create();
165165
$customerAddress->setFirstname($billingAddress->getFirstname());
166+
$customerAddress->setMiddlename($billingAddress?->getMiddlename());
166167
$customerAddress->setLastname($billingAddress->getLastname());
167168
$customerAddress->setStreet($billingAddress->getStreet());
168169
$customerAddress->setCity($billingAddress->getCity());

0 commit comments

Comments
 (0)