This tutorial describes and explains how to setup the EDD Order Numbers by Gateway with EDD Invoices addon,
You can find Edd ONG available here, and EDD Invoices available here.
In the EDD Invoices adddon configuration tab a new option will appear to enable invoicing only the orders with the Payments Gateways chosen in the # by Gateway options.
This, allows to filter gateways to show invoices only from those chosen in the list of sequential order numbers.
With EDD Invoices installed, the numbering of orders by gateway will be made compatible to the invoice numbers and invoices will only be made if the date is more recent than the date set above.
In addition, customers will not be able to see the “View Invoice” buttons if they did not pay with one of the chosen payment gateways or if the date is out of range.