We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 338c34c commit 0511f1aCopy full SHA for 0511f1a
view/frontend/templates/payment/model/adyen-payment-method.phtml
@@ -316,7 +316,9 @@ $billingAddress = $block->getQuoteBillingAddress();
316
countryCode: formattedShippingAddress.country_id ? formattedShippingAddress.country_id : formattedBillingAddress.country_id
317
};
318
319
- if (!!paymentMethodsExtraInfo[paymentMethod.type].configuration) {
+ if (paymentMethodsExtraInfo &&
320
+ paymentMethodsExtraInfo[paymentMethod.type] &&
321
+ paymentMethodsExtraInfo[paymentMethod.type].configuration) {
322
return Object.assign(configuration, paymentMethodsExtraInfo[paymentMethod.type].configuration)
323
} else {
324
return configuration;
0 commit comments