2

Shipment completed and generate invoice but order status showing Processing and invoice is in pending.

Also invoice showing a Capture button.

why? Anyone Know?
enter image description here enter image description here

3

You need to select capture option during invoice creation

if you select

Capture Offline When the invoice is submitted, the system does not capture the payment. It is assumed that the payment is captured directly through the gateway, and you no longer have the option to capture this payment through Magento. Invoice status goes to Paid

Capture online When the invoice is submitted, the system captures the payment from the third-party payment gateway like when you charge credit cards using any gateway. Invoice status goes to Pending.

Not Capture When the invoice is submitted, the system does not capture the payment. It is assumed that you will capture the payment through Magento at a later date. There is a Capture button in the completed invoice. Before capturing, you are able to cancel the invoice.

For Reference: https://docs.magento.com/m2/ce/user_guide/sales/invoice-create.html

I hope this will help

  • So how to do invoice status pending to paid? – Jugal Kishor Feb 21 at 8:43
  • @JugalKishor you asked in the question why the invoice is in pending so I tell you the reason (It is because of capture option). In order to convert invoice status pending to paid you have to follow this thread ` magento.stackexchange.com/questions/205382/… `. As it has already been asked by some one so I don't want to mention it here to make it redundant. I hope you got my point. keep coding :) thanks :) – Muhammad Hasham Feb 21 at 9:43
  • Yes I solved. Go In database and search invoice and sales order tables put processing to complete in stat column. solved – Jugal Kishor Feb 28 at 5:11
  • @Jugal if my answer is helpful please mark my answer correct so it helps other readers as well. keep coding :) thanks – Muhammad Hasham Mar 28 at 5:54
0

In DB change 'state' Column value to "2" in 'sales_invoice_grid' table.
and
In DB change 'state' Column value to "2" in 'sales_invoice' table.
and
In DB change 'state' and 'status' Column value to "complete" in 'sales_order' table.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.