You are here

function uc_recurring_admin_delete_form_submit in Ubercart 5

File

payment/uc_recurring/uc_recurring.module, line 838
Allows you to add a recurring fee to a product/SKU to handle subscription type services.

Code

function uc_recurring_admin_delete_form_submit($form_id, $form_values) {
  uc_recurring_fee_delete(array(
    'pfid' => arg(4),
  ), 'user');
  drupal_set_message(t('Recurring fee @fee deleted.', array(
    '@fee' => arg(4),
  )));
  return 'admin/store/orders/recurring';
}