Adyen / adyen-magento2

Adyen Payment plugin for Magento2
MIT License
155 stars 211 forks source link

Adyen module fails to compile due to di.xml error in Magento 2.4.5 #1971

Closed webamMarko closed 1 year ago

webamMarko commented 1 year ago

Describe the bug Adyen module fails to compile due to di.xml error in Magento 2.4.5

To Reproduce Steps to reproduce the behavior:

  1. Install clean Adobe Commerce 2.4.5 on prem edition
  2. Add Adyen Module via composer
  3. Install
  4. Run bin/magento setup:di:compile
  5. Following error occurs: Invalid Document Element 'type': Duplicate key-sequence ['Adyen\Payment\Model\Api\AdyenDonations'] in unique identity-constraint 'uniqueType'. Line: 1266

Expected behavior The module should compile successfully. There should be only one type element for Adyen\Payment\Model\Api\AdyenDonations.

Magento version 2.4.5

Plugin version 8.15.10

Desktop (please complete the following information):

Morerice commented 1 year ago

Hi @webamMarko,

Thanks for opening this issue. We have created a PR for this problem.

Regards, Jean Adyen