adyen-magento2
adyen-magento2 copied to clipboard
[ECP-9111] Fix multishipping failed if only one payment method is activated
Description
The issue this PR is solving is that it is not possible to complete the payment in multishipping checkout if only one payment method is enabled in Adyen Customer Area. This is solved by including a nested div with a custom data attribute and an afterRender binding to trigger selectPaymentMethod()
.
Tested scenarios
- card / alternative payment method multishipping payment when only one payment method is enabled in Adyen CA
- card / alternative payment method multishipping payment when multiple payment methods are enabled in Adyen CA