Skip to content

Commit 1af5045

Browse files
committed
ACP2E-1117: CustomerAddressId not set for new billing address
1 parent 6ca8abe commit 1af5045

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function customerCheckoutAddressMapper(
7474
$sameAsBillingFlag = 1;
7575
} elseif (!empty($quoteShippingAddressData) && !empty($billingAddress)) {
7676
$sameAsBillingFlag = $quote->getCustomerId() &&
77-
$this->checkIfShippingAddressMatchesWithBillingAddress($shippingAddress, $billingAddress);
77+
$this->checkIfShippingAddressMatchesWithBillingAddress($shippingAddress, $billingAddress);
7878
} else {
7979
$sameAsBillingFlag = 0;
8080
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ protected function submitQuote(QuoteEntity $quote, $orderData = [])
630630
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
631631
* @SuppressWarnings(PHPMD.NPathComplexity)
632632
*/
633-
protected function _prepareCustomerQuote(Quote $quote)
633+
protected function _prepareCustomerQuote($quote)
634634
{
635635
$billing = $quote->getBillingAddress();
636636
$shipping = $quote->isVirtual() ? null : $quote->getShippingAddress();

0 commit comments

Comments
 (0)