You are here

function uc_payment_pack_menu in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_payment_pack/uc_payment_pack.module \uc_payment_pack_menu()
  2. 7.3 payment/uc_payment_pack/uc_payment_pack.module \uc_payment_pack_menu()

Implements hook_menu().

File

payment/uc_payment_pack/uc_payment_pack.module, line 11
Provides the Check/Money Order, COD, and "Other" payment methods.

Code

function uc_payment_pack_menu() {
  $items['admin/store/orders/%uc_order/receive_check'] = array(
    'title' => 'Receive Check',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'uc_payment_pack_receive_check_form',
      3,
    ),
    'access arguments' => array(
      'view all orders',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'uc_payment_pack.admin.inc',
  );
  return $items;
}