How to store form in order
There is the data attribute on entities, which you cannot access through Entity Metadata Wrappers (per previous answer.)

Do you need the full form state or just values? Also, you do not need to serialize the data, as the entity controller will do this for you.

I would do something like:

form_state_values_clean($form_state);
$order-&gt;data['myform_values'] = $form_state['values'];


form_state_values_clean() will remove build IDs and such.