Skip to content

Commit e5cd82d

Browse files
MC-33539: [2.4] Error on checkout page after removing Store Credit
1 parent 4a8f99d commit e5cd82d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ define([
1919

2020
originalSelectPaymentMethodAction(paymentMethod);
2121

22+
if (paymentMethod === null) {
23+
return;
24+
}
25+
2226
$.when(
2327
setPaymentInformationExtended(
2428
messageContainer,

0 commit comments

Comments
 (0)