=== Gatemi Sequential Order Numbers ===
Contributors: gatemi
Tags: sequential order numbers, order numbers, invoicing, accounting, woocommerce
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sequential, gap-free order numbers for WooCommerce. Start where your books start — assigned atomically, frozen forever.

== Description ==

WooCommerce numbers orders by database ID: 1503, then 1507, then 1512. Accountants, tax offices and invoicing rules expect a sequence. **Gatemi Sequential Order Numbers** gives every new order the next number in a gap-free sequence — atomically, so two orders placed in the same instant can never draw the same number.

**A number is assigned once and never changes.** It is frozen onto the order the moment the order is created. Orders placed before this plugin keep the numbers they always had, and disabling the plugin never renumbers anything.

= Features =

* Gap-free sequential numbers for every new order — checkout, admin-created, REST and Store API alike
* **Atomic assignment**: the counter advances in a single database statement; no race can mint a duplicate
* Start the sequence where your books start
* Pre-plugin orders are never renumbered
* A live "next order will be numbered" readout on the settings screen
* **No tracking, no external requests, ever** — this plugin never phones home

= The full edition =

The full edition — **Gatemi Sequential Order Numbers for WooCommerce**, sold on gatemi.com — adds a prefix and suffix with `{YYYY}` `{YY}` `{MM}` `{DD}` date variables and zero-padding to a fixed width. Your sequence carries over: the full edition continues counting exactly where this one stops.

== Frequently Asked Questions ==

= Does this renumber my existing orders? =

Never. Only orders placed while the plugin is active receive sequence numbers; everything before keeps its original number.

= Does this plugin send any data anywhere? =

No. It makes no external requests of any kind.

== Screenshots ==

1. The settings screen, with the number the next order will receive.
2. The Orders list: consecutive numbers, with no gap, on orders placed one after another.

== Changelog ==

= 1.0.0 =
* Initial release.
* Gap-free sequential numbers for every new order — checkout, admin-created, REST and Store API alike — drawn in one atomic database statement so two orders placed in the same instant can never share a number.
* A number is frozen onto the order the moment it is created and never changes; orders placed before the plugin keep the numbers they always had.
* A configurable start number that can move the sequence forward and never backwards.
* No external requests of any kind.
