title: Custom WooCommerce Checkout Form
body: <p>I'm trying to post form-data to the WooCommerce checkout and continue to PayPal using a form on a custom landing page.</p>
  
  <p>The form uses jquery to add a product to the cart from the select box and when a user hits the checkout button after entering the billing information it should send the user to paypal and create the order as usual in WooCommerce.</p>
  
  <p>I am using the standard form action below </p>
  
  <pre><code>&lt;form id="msform" class="text-white" name="checkout" method="post" action="&lt;?php echo esc_url( wc_get_checkout_url() ); ?&gt;" enctype="multipart/form-data"&gt;
  </code></pre>
  
  <p>And have made sure I included <code>&lt;?php wp_nonce_field( 'woocommerce-pay' ); ?&gt;</code></p>
  
  <p>It will not send the user to paypal and returns to the shopping cart with "We were unable to process your order, please try again."</p>
  
  <p>Page Link : <a href="https://www.koiler.com/offer" rel="nofollow">Landing Page with Problem</a></p>
  
  <p>JsFiddle : <a href="https://jsfiddle.net/sb1y2on5/" rel="nofollow">preview of form code</a></p>
  
  <p>I've searched everywhere, please help.</p>