Advanced Ordernumbers for VirtueMart

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!



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


Regenerate invoices 07 Sep 2015 17:26 #1

  • centurical
  • centurical's Avatar Topic Author

I have bought your component and installed today on my virtuemart 2.6.6 on joomla 2.5.28
I have enabled the plugin and used the standard settings (so invoice and order number shall be generated by the plugin)
I have clicked on a test order in "cancelled" status to generate a new invoice to test the configuration and the new invoice number was correctly generated (2015-1).

However I have now received a real order and it is not using the new order and invoice numbering scheme but still the horrible virtuemart default.
The order has been paid with Paypal so in principle it should have already generated the order and invoice number. How this is possible ?

How can I fix this ? Is it possible to regenerate - at least - the invoice ?

Thanks in advance


Regenerate invoices 13 Sep 2015 23:11 #2

Dear Luigi,
What is the exact configuration of the plugin (can you maybe make a screenshot of the plugin configuation)?

Have you, by any chance, deleted some test orders and then restarted the server? VM is known to have a problem with the MySQL behavior of autoincrementing IDs in the database table (which are reset by MySQL in this case):

It is in principle possible to regenerate the invoice, but that involves deleting all information of the old invoice directly from the MySQL database (removing the entry from the invoice table as well as modifying the entry in the order table to remove the invoice number from the order).

If you do a test order, is the correct order and invoice number generated, or is also the VirtueMart default used? In the second case, there is a deeper problem with the plugin and the configuration.
PayPal should work just fine with the ordernumber plugin, as we are using that on our webshop, too.

Best regards,
  • Page:
  • 1