I am using the woocommerce_cart_total action hook to update the total cart price with a custom discount before the customer checks out. This leads to two proble
woocommerce_cart_total