I am using Woocommerce plugin for my custom product .and I am stuck with a situation .
Does Woo commerce provide any hook or filter when refund is done through admin panel and refund will be manually.
2 s
Although this answer is little late but anyone else may get benefit from it. The woocommerce_order_refunded
hook is called when an order is refunded. Use the following example:
// add the action
add_action( 'woocommerce_order_refunded', 'action_woocommerce_order_refunded', 10, 2 );
// Do the magic
function action_woocommerce_order_refunded( $order_id, $refund_id )
{
// Your code here
}