WooCommerce 10.7 and 10.8: what changed for order code

Two changes in WooCommerce 10.7 and 10.8 affect any plugin or snippet that touches order data. Here is what changed, why it matters, and how to check if your code is affected.
WooCommerce orders stuck on pending after payment: gateway webhook failures

Payment succeeded on the gateway side. The WooCommerce order sits on pending. Here is why this happens, how to identify affected orders, and how to prevent it recurring.
Order Daemon: rule-based order automation and observability for WooCommerce

Order Daemon adds rule-based automation, a searchable event log with a per-order timeline, and checkout-failure detection to WooCommerce. Here is what it does.
The Developer’s Map to the WooCommerce Order Lifecycle

Every WooCommerce order moves through a defined state machine. Here is a complete map of the states, the transitions between them, and the failure points where orders get lost.
The technical debt of custom WooCommerce order-completion code

A functions.php snippet that auto-completes virtual orders solves the immediate problem. Here is what it costs over time and what a lower-maintenance path looks like.
WooCommerce orders stuck on Processing: auto-completing virtual orders without a functions.php snippet

Virtual orders sit on Processing by design. Here is why, when the built-in auto-complete setting falls short, and how to handle it reliably without accumulating functions.php debt.