You are here

function uc_payment_delete_confirm_form_submit in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_payment/uc_payment.admin.inc \uc_payment_delete_confirm_form_submit()
  2. 7.3 payment/uc_payment/uc_payment.admin.inc \uc_payment_delete_confirm_form_submit()

File

payment/uc_payment/uc_payment.module, line 758

Code

function uc_payment_delete_confirm_form_submit($form_id, $form_values) {
  uc_payment_delete($form_values['receipt_id']);
  drupal_set_message(t('Payment deleted.'));
  return 'admin/store/orders/' . $form_values['order_id'] . '/payments';
}