apply_filters( 'woocommerce_cart_needs_payment' )
Note that woocommerce_cart_needs_payment is only used in WC_Checkout::process_checkout() to keep backwards compatibility.
Description Description
Use woocommerce_order_needs_payment instead.
Note that at this point you can’t rely on the Cart Object anymore, since it could be empty see: https://github.com/woocommerce/woocommerce/issues/24631
Source Source
File: includes/class-wc-checkout.php