The problem is similar to http://drupal.org/node/1230666
And I fixed it the same way as this:
http://drupalcode.org/project/commerce_cheque.git/commit/bb61b01

Just add the dummy in commerce_pay_in_person_submit_form() and works, but not sure why is happening.

Comments

pompetardo’s picture

/**
 * Payment method callback: checkout form.
 */
function commerce_pay_in_person_submit_form($payment_method, $pane_values, $checkout_pane, $order) {
  return array(
    'instructions' => array(
      '#type' => 'item',
      '#markup' => check_markup($payment_method['settings']['instructions']['value'],
        $payment_method['settings']['instructions']['format']),
    ),
    'dummy' => array(
      '#type' => 'hidden',
      '#value' => 'dummy',
    ),
  );
}
maerys’s picture

doesn't work for me. the error prompt is still there.

hadsie’s picture

This is probably fixed now in the latest dev version of commerce, see #1705862: Notice: Undefined index: payment_details in commerce_payment_pane_checkout_form_submit()

rszrama’s picture

Status: Active » Closed (duplicate)