Adyen/adyen-magento2

[ECP-9534] Adyen\Payment\Controller\Return\Index::isResponseAlreadyProcessed() throw exception if comment is empty

Closed this issue · 2 comments

In some case the order comment can be empty (null) so the function str_contains throw exception :(

Capture d’écran du 2024-10-22 10-34-44

Deprecated Functionality: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /vendor/adyen/module-payment/Controller/Return/Index.php on line 213

Hello @dimitriBouteille,

Thank you for creating this issue. We have created an internal ticket to solve this issue.

Best Regards,
Can

Hey @dimitriBouteille,

Here is the related PR - #2796
Closing the issue.

Regards!
Khushboo