title: How To Prevent Woocommerce from selecting default payment method on Checkout page?
body: <p>On Checkout page payment methods are presented and the first one is selected by default and automatically. I need to prevent the selection so no payment method is initially selected by WC.</p>
  
  <p>I tried 2 things so far:</p>
  
  <ol>
  <li><p>jQuery from Chrome console:</p>
  
  <p>jQuery( '.payment_methods input.input-radio' ).prop('checked', false);</p></li>
  </ol>
  
  <p>result:</p>
  
  <pre><code>[&lt;input id=​"payment_method_paypal" type=​"radio" class=​"input-radio" name=​"payment_method" value=​"paypal" data-order_button_text=​"Proceed to PayPal" checked=​"checked"&gt;​, 
  &lt;input id=​"payment_method_accountfunds" type=​"radio" class=​"input-radio" name=​"payment_method" value=​"accountfunds" data-order_button_text&gt;​]
  </code></pre>
  
  <ol start="2">
  <li><p>Remove the code from payment-method.php Woocommerce template file:</p>
  
  <p>checked( $gateway->chosen, false );</p></li>
  </ol>
  
  <p>Neither is working. How to do it? Any snippet or suggestion for that, please?</p>
  
  <p>EDIT:</p>
  
  <p>Also tried this:</p>
  
  <pre><code>function wpchris_filter_gateways( $gateways ){
  
  global $woocommerce;
  
  foreach ($gateways as $gateway) {
      $gateway-&gt;chosen = 0;
  }
  return $gateways;
  
  }
  add_filter( 'woocommerce_available_payment_gateways', 'wpchris_filter_gateways', 1);
  </code></pre>