wl-online-payments-direct / plugin-magento-core

Core of Magento plugin
Open Software License 3.0
0 stars 1 forks source link

Worldline Block/Info.php not compatible with core Payment/Block/Info.php #41

Open BeSite opened 1 month ago

BeSite commented 1 month ago

A third party extension is rendering payment info using Magento\Payment\Block\Info.php methods and formatting. When using Worldline payment method, Worldline\PaymentCore\Block\Info.php is used instead but rendering breaks because of missing methods and differences in getSpecificInformation() result. This class should be made compatible, or not injected over the default.

https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Payment/Block/Info.php