in Woocommerce, is there any way to catch an order cancellation from processing before the order status is changed to its final state (cancelled)?
I tried woocommerce_order_status_changed and woocommerce_order_status_processing_to_cancelled hooks with negative priorities and in that hooks the order is in its final state (cancelled) yet.