-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Invoice cannot be captured manually #2655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
encountered the same bug, any news on this? |
HI, this looks like a critical bug to me, as a consequence credit memos are not possible, because the invoice is in the wrong state. I'm currently implementing a payment module, but this breaks the whole payment backend functionality. cheers |
hi, I am facing the same issue, any progress? |
Hi, Any update on this? This seems to be a serious bug and is a blocker for me. |
Hi, |
A manual capture of an invoice is not stored in the database.
In
/vendor/magento/module-sales/Controller/Adminhtml/Order/Invoice/Capture.php
in theexecute()
method the capturing of the invoice is delegated to theInvoiceManagement
class. The invoice to capture is given to the manager via entity id.After that call, the invoice is saved.
The problem is, that the invoice being saved is not the same object being captured. Therefore, the invoice stays open.
The text was updated successfully, but these errors were encountered: