title: Retrieving custom field value from Checkout page
body: <p>On the WooCommerce Checkout page, I have added an extra field the customer must enter to checkout.</p>
  
  <p>I want to access this field's value in the woocommerce_cart_calculate_fees action hook.</p>
  
  <p>I have tried several ways by using woocommerce->customer data and order data but cannot get the value. Any assistance is greatly appreciated.    </p>
  
  <pre><code>/* WooCommerce Add Extra Fees */
  add_action( 'woocommerce_cart_calculate_fees','endo_handling_fee' );
  function endo_handling_fee() {
   global $woocommerce, $post;
  
   if ( is_admin() &amp;&amp; ! defined( 'DOING_AJAX' ) )
        return;
  
   // Get the order ID
   $order = new WC_Order($post-&gt;ID);
   // to escape # from order id 
   $order_id = trim(str_replace('#', '', $order-&gt;get_order_number()));
  
   // Here is where I want to get the field value
   $orderFee = get_post_meta( $order_id, 'decedents_name_field', true );
  
  }
  </code></pre>