function uc_cybersource_menu in Ubercart 6.2
Same name and namespace in other branches
- 5 payment/uc_cybersource/uc_cybersource.module \uc_cybersource_menu()
- 7.3 payment/uc_cybersource/uc_cybersource.module \uc_cybersource_menu()
Implements hook_menu().
File
- payment/
uc_cybersource/ uc_cybersource.module, line 20 - A module used for CyberSource's Silent Order POST and Hosted Order Page methods of payment.
Code
function uc_cybersource_menu() {
$items['cybersource/hop-post'] = array(
'title' => 'Payment received',
'page callback' => 'uc_cybersource_hop_post',
'access callback' => 'uc_cybersource_hop_post_access',
'type' => MENU_CALLBACK,
);
// Callback functions for Website Payments Standard.
$items['cybersource/hop-complete/%uc_order'] = array(
'title' => 'CyberSource payment complete',
'page callback' => 'uc_cybersource_hop_complete',
'page arguments' => array(
2,
),
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['admin/store/orders/%uc_order/cs_tax'] = array(
'title' => 'Order Taxes',
'page callback' => 'uc_cybersource_tax_test',
'page arguments' => array(
3,
),
'access arguments' => array(
'administer store',
),
'type' => MENU_CALLBACK,
);
return $items;
}