You are here

function uc_authorizenet_arb_user_cancel_form in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_authorizenet/uc_authorizenet.module \uc_authorizenet_arb_user_cancel_form()
1 string reference to 'uc_authorizenet_arb_user_cancel_form'
uc_authorizenet_menu in payment/uc_authorizenet/uc_authorizenet.module
Implements hook_menu().

File

payment/uc_authorizenet/uc_authorizenet.pages.inc, line 150
Includes page callbacks for Authorize.Net's Silent POST feature and user specific recurring fee operation pages.

Code

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