VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me

TOPIC: Invoice numbering

Invoice numbering 07 Feb 2017 15:21 #1

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
The administrator has disabled public write access.

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
The administrator has disabled public write access.

Invoice numbering 20 Feb 2017 10:26 #3

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
The administrator has disabled public write access.

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
The administrator has disabled public write access.

VM - Shopping cart

 x 

Cart empty

Login Formular