You are here

function commerce_payment_ui_payment_transaction_delete_form_submit in Commerce Core 7

Submit callback for commerce_payment_ui_payment_transaction_delete_form().

See also

commerce_payment_ui_form_commerce_payment_ui_payment_transaction_delete_form_alter()

1 string reference to 'commerce_payment_ui_payment_transaction_delete_form_submit'
commerce_payment_ui_form_commerce_payment_ui_payment_transaction_delete_form_alter in modules/payment/commerce_payment_ui.module
Implements hook_form_FORM_ID_alter().

File

modules/payment/commerce_payment_ui.module, line 217
Default Payment UI for Drupal Commerce.

Code

function commerce_payment_ui_payment_transaction_delete_form_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/commerce/orders/' . $form_state['order']->order_id . '/payment';
}