awesomemotive / easy-digital-downloads

Sell digital downloads through WordPress
https://easydigitaldownloads.com
GNU General Public License v2.0
863 stars 474 forks source link

Order "Number" is different to "id" #9723

Closed henrywright closed 2 months ago

henrywright commented 2 months ago

order

The screen grab above was taken from the Downloads > Orders list table in the wp-admin area.

As you can see the order "Number" 4 is different to the "id" of 11.

Is this expected? It feels like a bug because both 4 and 11 refer to the same order.

henrywright commented 2 months ago

I noticed this because in the list table I have duplicate "Numbers". For example, 4 appears twice. See the screen grab below.

numbers

mihaijoldis commented 2 months ago

It is possible that you enabled Sequential Order numbers and set a custom start number of 1. That is why after the ID 7 in your screenshot it starts again from 1. You can check if you have that enabled under Downloads > Settings > Payments > Accounting.

henrywright commented 2 months ago

Thank you @mihaijoldis for explaining. I do indeed have Sequential Numbering enabled. My guess is I enabled it recently which may be why the numbers have restarted from 1.

I will close this issue because it clearly isn't a bug