This article provides a patch for the issue where the invoice doesn't capture money to order when you do it from order grid mass action.

This known issue is mentioned in the Order Grid extension in the 2.4.1 version and less.

We have two possible ways to fix this issue:

1. Manually

You will need to edit the file.

  • add the following code:  const CAPTURE = true;
  • replace the code
  • $this->invoiceOrder->execute($order->getId(),self::CAPTURE);
It should look like this:

Image Placeholder

2. Apply the patch:

Go to root folder extension and use the following command:
git apply 0001-fix-issue-with-capture-via-mass-action-logic.patch