Author Topic: Order number increases by 2 instead of 1 for every new order - how to fix this?  (Read 487 times)

patrick.bjurquist

  • Beginner
  • *
  • Posts: 2
  • A beginner
  • Skype Name: 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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26428
  • Always on vacation
    • Jenkin Hill Internet
Looks like a problem with the Advanced Ordernumbers for VirtueMart plugin. Ask Reinhold on http://open-tools.net/forum/index.html
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.10 on Joomla 3.8.3 PHP 7.0.25

Testing VM3.2.10.9700 on J3.8.3

patrick.bjurquist

  • Beginner
  • *
  • Posts: 2
  • A beginner
  • Skype Name: patrick.bjurquist
I've posted to him, thanks for the tip.

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