How to Disable Paypal on Orders Above $200 in WooCommerce?

This is a cool function you can apply to any payment gateways for any order edge. for instance, you might need to cripple bank transfer if orders are beneath $10, or impair PayPal payment if orders are over a specific truck all out. Hide PayPal Geteway on WooCommerce Orders above $200 [php] </pre> add_filter( ‘woocommerce_available_payment_gateways’, […]