From f76794684a78e7ad76034c92be27619a585efe86 Mon Sep 17 00:00:00 2001 From: Nickolas Malovanets Date: Mon, 29 Jul 2024 18:52:31 +0300 Subject: [PATCH] Fix guest customer sync for the Fastlane and virtual cart. --- .../js/view/payment/method-renderer/bold-fastlane-method.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/view/frontend/web/js/view/payment/method-renderer/bold-fastlane-method.js b/view/frontend/web/js/view/payment/method-renderer/bold-fastlane-method.js index 01af82c7..21e0c6c0 100644 --- a/view/frontend/web/js/view/payment/method-renderer/bold-fastlane-method.js +++ b/view/frontend/web/js/view/payment/method-renderer/bold-fastlane-method.js @@ -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); @@ -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') {