Closed netzkollektiv closed 3 days ago
Workaround: Prepopulate the $alternativeHeaders
via di.xml
:
<?xml version="1.0" encoding="UTF-8" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Payone\Core\Model\Environment\RemoteAddress">
<arguments>
<argument name="alternativeHeaders" xsi:type="array">
<item name="x-forwarded-for" xsi:type="string">HTTP_X_FORWARDED_FOR</item>
</argument>
</arguments>
</type>
</config>
Hello @netzkollektiv @hummer2k
Thank you very much for your messages.
We are currently working on a new plugin version that will also be compatible with 2.4.7.
Problem is fixed in #545
After upgrading to Magento 2.4.7 we experience the following issue as Magento introduced
readonly
properties for classes. Checkout with Payone is not possible.