At random times, I'm having orders that are stuck in Pending Payment, even if they are paid in MobilPay Dashboard.
I could find two type of errors in system.log:
Deprecated Functionality: md5(): Passing null to parameter #1 ($string) of type string is deprecated in public_html/app/code/Netopia/Netcard/Controller/Payment/Guest.php on line 94
-> fixed by adding ?? '' : if(md5($order->getCustomerEmail() ?? '') != $code){
main.ERROR: Please provide payment for the order. [] [] main.CRITICAL: Magento\Framework\Exception\LocalizedException: Please provide payment for the order. in public_html/vendor/magento/module-payment/Observer/SalesOrderBeforeSaveObserver.php:29
in the stacktrace you can find the Redirect.php from Netopia causing this issue:
At random times, I'm having orders that are stuck in Pending Payment, even if they are paid in MobilPay Dashboard.
I could find two type of errors in system.log:
Deprecated Functionality: md5(): Passing null to parameter #1 ($string) of type string is deprecated in public_html/app/code/Netopia/Netcard/Controller/Payment/Guest.php on line 94
-> fixed by adding ?? '' :
if(md5($order->getCustomerEmail() ?? '') != $code){
main.ERROR: Please provide payment for the order. [] [] main.CRITICAL: Magento\Framework\Exception\LocalizedException: Please provide payment for the order. in public_html/vendor/magento/module-payment/Observer/SalesOrderBeforeSaveObserver.php:29
in the stacktrace you can find the Redirect.php from Netopia causing this issue:
Any clue what is causing the behaviour I mentioned? Pretty sure it's related to the Redirect.php error.
Thank you!