You are here

function uc_recurring_user_cancel_form_submit in Ubercart 5

File

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

Code

function uc_recurring_user_cancel_form_submit($form_id, $form_values) {
  uc_recurring_fee_cancel($form_values['rfid']);
  drupal_set_message(t('The recurring fee has been cancelled.'));
  return 'user/' . $form_values['uid'];
}