WooCommerce cash on delivery: confirmation and tracking without plugins
WooCommerce already exposes everything needed: orders, statuses, meta, products. The work is in the operations layer on top.
The order flow
Processing / on-hold orders enter the confirmation list. Confirmed orders get a tag in meta; cancelled orders go to status cancelled with stock restored.
Tracking numbers
Use the Shipment Tracking plugin format or an _awb meta key. The courier name in the tracking provider field is what routes the parcel to the right API.
Instant confirmation
A WooCommerce webhook on order.created pushes new orders to the call list in seconds.
Stock
Pull products, receive goods, push stock back as a delta. NDA CRM for WooCommerce.