Order number increases by 2 instead of 1 for every new order - how to fix this?

Started by patrick.bjurquist, January 10, 2017, 14:39:20 PM

Previous topic - Next topic

patrick.bjurquist

After migrating from 2.x to 3.x my order numbers increase by 2 instead of 1 for some reason.
Before my order number and invoice number was the same and my Order ID as well (kept them synced by not deleting orders).
But now after an order is created and I create an Delivery note or an Invoice - that Delivery note or Invoice gets the next 'order number'.
----
Order number: 8900
Invoice number: 8901
----
Order number: 8902
Invoice number: 8903
----
etc

I'm using;
- Klarna Checkout plugin for payments (https://developers.klarna.com/en/se/kco-v2/klarna-checkout-overview-v1)
- Advanced Ordernumbers for Virtuemart (http://open-tools.net/documentation/ordernumber-plugin-for-virtuemart.html)

I've been up and down Google and Forums but haven't found any help so far. I'm a bit novice to this so apologize in advance if this is a really noob question.

Thank you in advance for your help!

//Patrick



System Information
Setting   Value
VirtueMart 3.0.18
PHP Built On   Linux vps1.ovv.no 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64
Database Version   5.5.43-MariaDB
Database Collation   latin1_swedish_ci
Database Connection Collation   utf8mb4_general_ci
PHP Version   5.6.29
Web Server   Apache/2.2.22 (@RELEASE@)
WebServer to PHP Interface   apache2handler
Joomla! Version   Joomla! 3.6.0 Stable [ Noether ] 12-July-2016 21:14 GMT
Joomla! Platform Version   Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

patrick.bjurquist

I've posted to him, thanks for the tip.

And if someone else has come across this - pls give me a shout :)