Skip to content

Commit 0c5934e

Browse files
author
Alex Akimov
committed
MAGETWO-44329: Unable to Update Billing Address in Checkout when tax Calculation is Based on Billing Address
1 parent a110824 commit 0c5934e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/code/Magento/Checkout/view/frontend/web/js/action/set-billing-address.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ define(
5959

6060
if (!quote.isVirtual()) {
6161
getTotalsAction([]);
62+
fullScreenLoader.stopLoader();
6263
} else {
6364
deferred = $.Deferred();
6465
getPaymentInformationAction(deferred);

app/code/Magento/Checkout/view/frontend/web/js/view/billing-address.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ define(
115115
useShippingAddress: function () {
116116
if (this.isAddressSameAsShipping()) {
117117
selectBillingAddress(quote.shippingAddress());
118+
if (window.checkoutConfig.reloadOnBillingAddress) {
119+
setBillingAddressAction(globalMessageList);
120+
}
118121
this.isAddressDetailsVisible(true);
119122
} else {
120123
lastSelectedBillingAddress = quote.billingAddress();

0 commit comments

Comments
 (0)