I'm actually not sure whether it's a bug report or a support request.
On the checkout form, I have some fancy ajax tricks reloading some parts, and apparently the payment pane is refreshed too (I don't seem to do any action, so I suppose it's a standard DrupalCommerce behaviour). The problem is that
$form_values contains only the related values for a part of the form, there is nothing related to the payment pane, and the following error happens:
Notice: Undefined index: commerce_payment dans commerce_payment_pane_checkout_form() (line 79 in /commerce/modules/payment/includes/commerce_payment.checkout_pane.inc).
Then, when I actually submit the payment part by submitting the whole form, the famous "EntityMetadataWrapperException" happens.
If I'm doing something wrong, can you help me fix it? Is there something peculiar to do when using ajax on some parts of the form.