Duplicate Order Keeps Same Order Number

I have had customers using the "re order this order" feature in there accounts, but when they are redirected to pay via credit card through sagepay, the order number isnt changing.

EG customer purchased in may 2017 order number 12345

today customer reorders 12345 via reorders button in "my orders link"

Now I would expect the order number in admin for the "new" duplicated order to be a new number but it appears still as 12345 meaning we have 2 of the same order number in sagepay.

And in admin 12345 appears at the top of the orders, even though the last order number in admin may be 23456

Any guidance

Thanks

John

It looks like a bug. Try to reproduce it on the demo store. If not, pay attention to 3rd party addons

Hello, This is Mohammad all if you don't mind can I asked you one question which software you are using writes now?

Hello, This is Mohammad all if you don't mind can I asked you one question which software you are using writes now?

Please clarify your question