title: Send Variation options to stripe as metadata with WooCommerce
body: <p>I am using this code to send product data to stripe as metadata.</p>
  
  <pre><code>function filter_wc_stripe_payment_metadata( $metadata, $order, $source ) {
  
      $count = 1;
  
      foreach( $order-&gt;get_items() as $item_id =&gt; $line_item ){
          $item_data = $line_item-&gt;get_data();
          $product = $line_item-&gt;get_product();
          $location = $product-&gt;get_attribute('location');
          $product_name = $product-&gt;get_name();
          $item_quantity = $line_item-&gt;get_quantity();
          $item_total = $line_item-&gt;get_total();
          $metadata['Item '.$count] = '';
          $count += 1;
      }
  
      return $metadata;
  }
  
  add_filter( 'wc_stripe_payment_metadata', 'filter_wc_stripe_payment_metadata', 10, 3 );
  </code></pre>
  
  <p>How can I get the selected variation of the product and add it to the metadata?</p>