Closed htcmage closed 11 months ago
Hello @htcmage, we appreciate you raising this issue, and it appears to be valid. Our team is currently conducting a thorough investigation into the root cause of the problem and, of course, working on finding a suitable solution. Thank you for bringing this to our attention.
Hi team
we had same issue with Magento v2.4.5-p1 with Mollie Apple pay v2.29.1. Invoice were created for the order but it still show Due Amount in order.
Hello @nileshrvs , we appreciate your input. Indeed, we have verified this as resolved in the upcoming release! I'll make sure to inform you as soon as it becomes accessible.
Hello @nileshrvs and @htcmage, I'm happy to inform you that we have successfully resolved this issue in our most recent release. Your detailed issue report greatly aided us in reproducing and addressing the problem. While we are closing this matter at present, please know that you are welcome to reopen it should the need arise. Thank you once again for bringing this to our attention.
I'm making a feature to create invoice order automatically in Magento but facing this issue with Mollie/Apple pay. That is the qty_invoiced of order item was not updated correctly. It leads the issue function \Magento\Sales\Model\Order::canInvoice cannot return correct value and I can create multiple invoices for one order even all items have been invoiced.
Used versions
To Reproduce Steps to reproduce the behavior:
Expected behavior The order is created successfully. The invoice is created successfully. The column sales_order_item.qty_invoiced is updated is 1 (It means the item has been invoiced fully)
Actual behavior The column sales_order_item.qty_invoiced is updated is 0 (It means the item has not been invoiced fully)