cancel
Showing results for 
Search instead for 
Did you mean: 

End user unable to finish ordering process

End user unable to finish ordering process

Hi everyone, we are running M2 EE 2.4.4 and recently we have increased number of users unable to finalize ordering process... The quote is correctly created, however the last page simply throws an error. The error from a system log is

[2023-02-01T21:45:27.110320+00:00] .CRITICAL: TypeError: Magento\Quote\Model\QuoteManagement::placeOrder(): Argument #2 ($paymentMethod) must be of type ?Magento\Quote\Api\Data\PaymentInterface, array given, called in /var/www/html/vendor/magento/framework/Interception/Interceptor.php on line 58 and defined in /var/www/html/vendor/magento/module-quote/Model/QuoteManagement.php:388

The payment method despite the error IS selected (COD in our case), the parameter passed to magento API (checked via console) is also passed, however the API returns an Error 500.

Mind you this doesn't happen to all users, just some of them, and there is no similarities between products, user info and so on.

The only info about the issue on Google shows braintree module, which we are not using to begin with.

Anyone else had similar issue with it?