Store custom checkout pane data to order I've created a custom checkout pane according to documentation. When I submit my Order and go to admin page, where all my orders are listed, I can't see this custom pane field there. I've already tried to add $this-&gt;order-&gt;save(); at the end of submitPaneForm function but that seems to make no difference. I've already created field with machine name &quot;field_test_me&quot; in my Order type and also have added this field to enabled fields on &quot;Manage display&quot; tab, but the field seems to be empty.
Is there anything I'm missing to get my custom pane fields to be displayed on the &quot;Order detail&quot; page, please?
This is how my buildPaneForm function looks like:
public function buildPaneForm(array $pane_form, FormStateInterface $form_state, array &amp;$complete_form)
{
$pane_form['billing_info'] = [
  '#type' =&gt; 'fieldset',
  '#title' =&gt; $this-&gt;t('@title', ['@title' =&gt; $this-&gt;configuration['title']]),
];

$pane_form['billing_info']['field_test_me'] = [
  '#type' =&gt; 'textfield',
  '#title' =&gt; 'Test me',
  '#wrapper_attributes' =&gt; [
    'class' =&gt; ['col-md-6']
  ],
  '#default_value' =&gt; 'MY CUSTOM STRING'
];
return $pane_form;

}
And this is how my submitPaneForm function looks like:
public function submitPaneForm(array &amp;$pane_form, FormStateInterface $form_state, array &amp;$complete_form)
{
    $values = $form_state-&gt;getValue($pane_form['#parents']);
    $this-&gt;order-&gt;setData('field_test_me', $values['billing_info']['field_test_me']);
}

I'm using other functions for displaying value on &quot;Review&quot; page, but those are not part of my issue.
I found a solution. With my custom field called &quot;Test me&quot; and machine name &quot;field_test_me&quot; created in my Order Type entity I could save the data from Custom Checkout Pane with $this-&gt;order-&gt;set() function instead of $this-&gt;order-&gt;setData(). Of course I needed to change $this-&gt;order-&gt;getData() to $this-&gt;order-&gt;get() everywhere where used.
I don't understand what's the difference between set() and setData(), but it seems to store my Custom Checkout Pane values to my custom fields created in my Order type entity.