I want to generate invoice manually what ever the payment gateway. Lets take example of wallet system. It is generating invoice automatically but i want to generate partial invoice for some of the items needs to be delivered first , another invoice for remaining items as we don't have stock maintenance for the products.
Any help on this?
It's pretty simple. Just go to Store->Configuration->Sales Emails and under the tab "Invoice" set Enable to NO. Auto-generation of invoice will stop and you can generate manually from Magento admin.
I tried this option , Its stopping notification emails only not the invoice generation process. any other option?
Can you please let me know which payment method is used in your system?
Suppose, If you are using Authorize.net payment method, You can see new order status in configuration https://www.screencast.com/t/Xe6jeVsZe
Here, After capture amount order status is changed to Processing so now you have to customize functionality here. You have to add new option Pending status here and then after capture amount that order status will be pending for it. You have to do for same customize for your active payment method. That's the way you can easily create a partial invoice for it.
If my answer is useful, please Accept as Solution & give Kudos
Please check with this plugin https://www.magecloud.net/marketplace/extension/disable-automatic-generation-of-invoice/ team if they have the same plugin for M2 as well.