You are here

function uc_recurring_user_cancel_form in Ubercart 5

1 string reference to 'uc_recurring_user_cancel_form'
uc_recurring_menu in payment/uc_recurring/uc_recurring.module
Implementation of hook_menu().

File

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

Code

function uc_recurring_user_cancel_form($uid, $rfid) {
  $form['uid'] = array(
    '#type' => 'value',
    '#value' => $uid,
  );
  $form['rfid'] = array(
    '#type' => 'value',
    '#value' => $rfid,
  );
  return confirm_form($form, t('Are you sure you want to cancel your recurring fee?'), 'user/' . $uid, t('This action cannot be undone and may result in the termination of subscription services.'), t('Confirm'), t('Cancel'));
}