We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5017aee commit 4dd6188Copy full SHA for 4dd6188
app/code/Magento/Checkout/view/frontend/web/js/view/billing-address.js
@@ -148,12 +148,13 @@ define(
148
149
if (!this.source.get('params.invalid')) {
150
var addressData = this.source.get(this.dataScopePrefix),
151
- newBillingAddress = createBillingAddress(addressData);
+ newBillingAddress;
152
153
if (customer.isLoggedIn() && !this.customerHasAddresses) {
154
this.saveInAddressBook(true);
155
}
156
addressData.save_in_address_book = this.saveInAddressBook();
157
+ newBillingAddress = createBillingAddress(addressData);
158
159
// New address must be selected as a billing address
160
selectBillingAddress(newBillingAddress);
0 commit comments