Closed Tjitse-E closed 2 years ago
Hi @Tjitse-E ,
Thank you for the report. I have created a backlog item to investigate this issue.
I will get back to you as soon as possible.
Hi @Tjitse-E ,
We have reviewed and modified your change a bit, so it has backwards compatibility with older versions as well. I will close this PR now since we already merged and released it internally: https://github.com/MultiSafepay/magento2/releases/tag/2.16.0
Thank you for the contribution!
Prerequisites
multisafepay/magento2-core
Steps to reproduce
Expected result
A new order comment is placed and the order comment is visible.
Actual result
A request POST is done to
/sales/order/addComment/order_id/1234
, which triggers\MultiSafepay\ConnectCore\Observer\SetTemplateVarsBefore::execute
. This results in an error: