Skip to content

Commit

Permalink
Fix guest customer sync for the Fastlane and virtual cart.
Browse files Browse the repository at this point in the history
  • Loading branch information
NickolasMalovanets committed Jul 29, 2024
1 parent 1854c26 commit f767946
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ define(
this.isVisible(false);
return;
}
this.sendGuestCustomerInfo();
quote.shippingAddress.subscribe(function () {
this.sendGuestCustomerInfo();
if (window.checkoutConfig.bold.fastlane.memberAuthenticated !== true
&& checkoutData.getSelectedPaymentMethod() === 'bold_fastlane') {
selectPaymentMethodAction(null);
Expand Down Expand Up @@ -170,6 +168,7 @@ define(
processBoldOrder: async function (tokenResponse) {
try {
this.updateQuoteBillingAddress(tokenResponse);
this.sendGuestCustomerInfo();
const refreshResult = await boldFrontendClient.get('refresh');
const taxesResult = await boldFrontendClient.post('taxes');
if (fastlane.getType() === 'ppcp') {
Expand Down

0 comments on commit f767946

Please sign in to comment.