Skip to content

Commit 38cc5b1

Browse files
committed
ACP2E-296: Wrong customer name in order with paypal payment
- fix
1 parent 302f6c5 commit 38cc5b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Paypal/Model/Express/Checkout.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,8 @@ protected function prepareGuestQuote()
11671167

11681168
$quote->setCustomerId(null)
11691169
->setCustomerEmail($email)
1170+
->setCustomerFirstname($billingAddress->getFirstname())
1171+
->setCustomerLastname($billingAddress->getLastname())
11701172
->setCustomerIsGuest(true)
11711173
->setCustomerGroupId(\Magento\Customer\Model\Group::NOT_LOGGED_IN_ID);
11721174
return $this;

0 commit comments

Comments
 (0)