Open hannes011 opened 7 months ago
I can confirm that I see the same issue. In my case however, we use Magento 2.4.5-p8 and version 3.8.1 of the PayONE module.
The only difference is that sales_order.base_total_paid
is actually set to the expected value (i.e. the total price as the order has been fully paid).
The problem doesn't tell us anything at first and we can't think of anything in the module that could be responsible for it.
Since the behavior was associated with a module update, we looked at all the adjustments to the module in the versions mentioned. However, nothing jumped out at us that could be responsible for this behavior, and we didn't actually do anything with the order status.
In general, it is also the Magento core code that sets an order to complete - the Payone module has nothing to do with this directly.
In particular, you say that this only occurs rarely and not always, so it is virtually impossible to make a remote diagnosis.
Translated with DeepL.com (free version)
Hi,
I've recently updated Magento (2.4.5-p1 -> 2.4.6-p3) and the PayONE module (3.7.0 -> 3.9.0). I've observed a couple of orders which are marked paid and shipped which do not move forward to status "complete". I've compared the data but couldn't find any reason why most orders are processed correctly but few are not. I checked all log files but couldn't find any hint for that exceptional behavior. Since they have already all items invoiced and shipped I cannot change the status via the admin panel (the buttons are not displayed).
All affected orders have in common:
sales_order.base_total_due
is positivesales_order.base_total_paid
is NULL (also visible in the total of the order admin view)sales_invoice.base_grand_total
exists and is equal thesales_order.base_grand_total
Strange is that
sales_order_payment.base_amount_paid
is sometimes NULL and sometimes set.All these orders are actually paid and also the invoice record in Magento admin panel is saying "paid".
Is there anyone else facing similar problems?
The affected orders: