function uc_credit_menu in Ubercart 7.3
Same name and namespace in other branches
- 5 payment/uc_credit/uc_credit.module \uc_credit_menu()
- 6.2 payment/uc_credit/uc_credit.module \uc_credit_menu()
Implements hook_menu().
File
- payment/
uc_credit/ uc_credit.module, line 71 - Defines the credit card payment method and hooks in payment gateways.
Code
function uc_credit_menu() {
$items['cart/checkout/credit/cvv_info'] = array(
'title' => 'CVV information',
'page callback' => 'uc_credit_cvv_info',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
'file' => 'uc_credit.pages.inc',
);
$items['admin/store/orders/%uc_order/credit'] = array(
'title callback' => 'uc_credit_terminal_title',
'title arguments' => array(
3,
),
'description' => 'Displays a form to process a credit card payment.',
'page callback' => 'uc_credit_terminal',
'page arguments' => array(
3,
),
'access arguments' => array(
'process credit cards',
),
'file' => 'uc_credit.admin.inc',
);
return $items;
}