Fatal error: Call to undefined method WooCommerce::is_rest_api_request() in /home/builders/public_html/wp-content/plugins/woo-payment-gateway/includes/class-braintree.php on line 446