diff --git a/includes/class-wc-ajax.php b/includes/class-wc-ajax.php index 2659bd4a2f0..296db173c3f 100644 --- a/includes/class-wc-ajax.php +++ b/includes/class-wc-ajax.php @@ -2211,7 +2211,7 @@ class WC_AJAX { } if ( $refund_amount == $max_refund ) { - $order->update_status( 'refunded' ); + $order->update_status( apply_filters( 'woocommerce_order_fully_refunded_status', 'refunded', $order_id, $refund->id ) ); $response_data['status'] = 'fully_refunded'; }