Skip to content

Commit 1508a9c

Browse files
Merge branch 'main' into promote/main
2 parents b33bd6f + 89473aa commit 1508a9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

view/frontend/web/js/view/payment/method-renderer/adyen-cc-method.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ define(
107107

108108
// Check the paymentMethods response to enable Credit Card payments
109109
if (!!paymentMethodsResponse &&
110-
!paymentMethodsResponse.paymentMethodsResponse.paymentMethods.find(self.isSchemePaymentsEnabled)) {
110+
!paymentMethodsResponse.paymentMethodsResponse?.paymentMethods.find(self.isSchemePaymentsEnabled)) {
111111
return;
112112
}
113113

view/frontend/web/js/view/payment/method-renderer/adyen-giftcard-method.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ define(
9595
fullScreenLoader.startLoader();
9696
let giftcards = [];
9797

98-
let paymentMethods = paymentMethodsResponse.paymentMethodsResponse.paymentMethods;
98+
let paymentMethods = paymentMethodsResponse.paymentMethodsResponse?.paymentMethods;
9999

100100
if (!!paymentMethods && paymentMethods.length > 0) {
101101
giftcards.push({

0 commit comments

Comments
 (0)