Solution:
// Hook before adding fees add_action('woocommerce_cart_calculate_fees' , 'add_custom_fees'); function add_custom_fees( WC_Cart $cart ){ $fees = 0.08; $cart->add_fee( 'Handling fee', $fees); }