Skip to content

Commit 867c896

Browse files
committed
Merge remote-tracking branch 'origin/MC-32782' into 2.4-develop-pr21
2 parents b25b0a3 + 12ecf8a commit 867c896

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/code/Magento/SalesRule/view/frontend/web/js/action/select-payment-method-mixin.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ define([
77
'mage/utils/wrapper',
88
'Magento_Checkout/js/model/quote',
99
'Magento_SalesRule/js/model/payment/discount-messages',
10-
'Magento_Checkout/js/action/set-payment-information',
10+
'Magento_Checkout/js/action/set-payment-information-extended',
1111
'Magento_Checkout/js/action/get-totals',
1212
'Magento_SalesRule/js/model/coupon'
13-
], function ($, wrapper, quote, messageContainer, setPaymentInformationAction, getTotalsAction, coupon) {
13+
], function ($, wrapper, quote, messageContainer, setPaymentInformationExtended, getTotalsAction, coupon) {
1414
'use strict';
1515

1616
return function (selectPaymentMethodAction) {
@@ -20,11 +20,12 @@ define([
2020
originalSelectPaymentMethodAction(paymentMethod);
2121

2222
$.when(
23-
setPaymentInformationAction(
23+
setPaymentInformationExtended(
2424
messageContainer,
2525
{
2626
method: paymentMethod.method
27-
}
27+
},
28+
true
2829
)
2930
).done(
3031
function () {

0 commit comments

Comments
 (0)