Plugin Contributor
Ewout
(@pomegranate)
In the General settings tab of the PDF Invoice settings, make sure ONLY the ‘Completed order email’ is checked. Many people also check ‘admin new order email’, but this email is sent even for orders that will cancel, fail etc.
Ewout
These are my General settings

And this is my Order page. The invoice is avaible even for “in progress” orders.

Which settings I have to change?
Plugin Contributor
Ewout
(@pomegranate)
Hi! The button is always visible, this doesn’t mean that the invoice is generated. If you press the button, this will create an invoice regardless of the status. The settings you have now will not automatically create the invoice until the order is completed. (unless the Italian Add-On does this but I doubt that).
Ewout
Ok, thanks.
Is the button always visible even in the PRO plugin?
Plugin Contributor
Ewout
(@pomegranate)
Yes, because otherwise it would not be possible to create an invoice manually!
Again, this doesn’t mean the order has an invoice though. Also, this is different for the My Account page of the customer (which you can control via the settings)
Read this if you want to hide the button for specific statuses:
https://wordpress.org/support/topic/disable-invoice-function/#post-6219452
Hope that helps!
Ewout