Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Ordernumbers for WooCommerce

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!

×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Invoice numbering 07 Feb 2017 15:21 #1

  • hetweemsel
  • hetweemsel's Avatar Topic Author
Hello,

First of all great plugin!

Running in a little issue which shouldn't be to complicated to fix I guess. The invoice numbers are getting generated when an order is created. Default the PDF Invoices plugin only creates and order number when finishing an order or when you click to generate a PDF. Is it possible to only create the invoice number when an order is in the following order statuses:

- Processing
- Completed

Otherwise we would get a lot of canceled orders who get an invoice number which we don't want to have.

Best Regards,
Dylan Smit
Het Weemsel

Invoice numbering 18 Feb 2017 20:53 #2

Dear Het,
Actually, our plugin should create an invoice number only when requested by the invoice plugin.
Which invoices plugin are you using exactly (there are several around, each with a slightly different approach and completely different technical implementation).

Modifying our plugin to only create invoice numbers when the order is in a certain state might be doable technically, but in general the proper way would be to make sure the invoice plugin requests an invoice number only when it actually creates an invoice.

Best regards,
Reinhold

Invoice numbering 20 Feb 2017 10:26 #3

  • hetweemsel
  • hetweemsel's Avatar Topic Author
Dear Reinhold,

nl.wordpress.org/plugins/woocommerce-pdf...oices-packing-slips/

This is the Invoice plugin we use. Normally this plugin would only create an invoice number on generating an invoice (Eg. Sending mail to customer or generate it in the backend of WooCommerce). We only send the invoice on finishing the order but it already generates an invoice number when placing an order.

Best Regards,
Het Weemsel

Invoice numbering 04 Mar 2017 18:54 #4

Dear Het,
Thanks for pointing out this issue. The cause was that the WC PDF Invoices & Packaging slips plugin requested invoice numbers for orders even before an invoice was created. We will change our plugin to only create the invoice number when the WC PDF Invoices & Packaging slips plugin actually generates the PDF, not when it tries to request an invoice number.

The next release should fix your issue. If not, please let us know.

Best regards,
Reinhold
  • Page:
  • 1