How can I properly render a field collection ? Is there any specific function for that ? My field collection is attached to a *line item entity*, and I want to display it in a *Commerce checkout pane review*. 

    function mymodule_pane_review($form, $form_state, $checkout_pane, $order) {
      //loading line item
      $line_item = commerce_line_item_load($order->commerce_line_items['und'][0]['line_item_id']);
      //rendering field collection named field_paxsup 
      $display = array('label' => 'hidden');
      $view = field_view_field('commerce_line_item', $line_item, 'field_paxsup', $display);
      return drupal_render($view);
    }

This outputs an empty field. `dsm(line_item->field_paxsup)` gives me a integer value

![dsm(line_item->field_paxsup)][1]

which is the field collection id. So I tried 

    function mymodule_pane_review($form, $form_state, $checkout_pane, $order) {
      //loading line item
      $line_item = commerce_line_item_load($order->commerce_line_items['und'][0]['line_item_id']);
      //loading field_collection
      $paxsup = entity_load('field_collection_item', array($line_item->field_paxsup['und'][0]['value']));
      
      return drupal_render(field_attach_view('field_collection_item',$paxsup, 'full'));
    }

but get an error *EntityMalformedException: Missing bundle property on entity of type field_collection_item*
  [1]: https://i.sstatic.net/LdRsq.png