diff --git a/app/code/Magento/Checkout/view/frontend/web/js/action/set-billing-address.js b/app/code/Magento/Checkout/view/frontend/web/js/action/set-billing-address.js index faf798bf98899214ec5d661e42825909ca9dce50..2090bdabfe69b2af20f08e340af079cd76d551bd 100644 --- a/app/code/Magento/Checkout/view/frontend/web/js/action/set-billing-address.js +++ b/app/code/Magento/Checkout/view/frontend/web/js/action/set-billing-address.js @@ -55,10 +55,12 @@ define( serviceUrl, JSON.stringify(payload) ).done( function () { + var deferred = null; + if (!quote.isVirtual()) { getTotalsAction([]); } else { - var deferred = $.Deferred(); + deferred = $.Deferred(); getPaymentInformationAction(deferred); $.when(deferred).done(function () { fullScreenLoader.stopLoader(); diff --git a/dev/tests/static/testsuite/Magento/Test/Js/_files/blacklist/magento.txt b/dev/tests/static/testsuite/Magento/Test/Js/_files/blacklist/magento.txt index 02aa8c3d20512a666f0a1d817c1bf30f99e1c0cd..473a08355e6c8dd3b026da9a22ae826675b8a0b6 100644 --- a/dev/tests/static/testsuite/Magento/Test/Js/_files/blacklist/magento.txt +++ b/dev/tests/static/testsuite/Magento/Test/Js/_files/blacklist/magento.txt @@ -173,10 +173,9 @@ app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/variations/steps/summ app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/variations/variations.js app/code/Magento/ConfigurableProduct/view/frontend/requirejs-config.js app/code/Magento/ConfigurableProduct/view/frontend/web/js/configurable.js -app/code/Magento/Cookie/View/adminhtml/requirejs-config.js -app/code/Magento/Cookie/View/frontend/requirejs-config.js -app/code/Magento/Cookie/View/frontend/web/js/notices.js -app/code/Magento/Cookie/View/frontend/web/js/require-cookie.js +app/code/Magento/Cookie/view/adminhtml/requirejs-config.js +app/code/Magento/Cookie/view/frontend/requirejs-config.js +app/code/Magento/Cookie/view/frontend/web/js/require-cookie.js app/code/Magento/Customer/view/adminhtml/requirejs-config.js app/code/Magento/Customer/view/adminhtml/web/edit/tab/js/addresses.js app/code/Magento/Customer/view/frontend/requirejs-config.js