You are here

function uc_authorizenet_arb_user_cancel_form in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_authorizenet/uc_authorizenet.pages.inc \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
Implementation of hook_menu().

File

payment/uc_authorizenet/uc_authorizenet.module, line 1164
Process payments using Authorize.net. Supports AIM and ARB.

Code

function uc_authorizenet_arb_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 wish to cancel this fee?'), 'user/' . $uid, t('This action cannot be undone and may result in the termination of subscription services.'), t('Confirm'), t('Cancel'));
}