You are here

function uc_2checkout_menu in Ubercart 6.2

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

Implements hook_menu().

File

payment/uc_2checkout/uc_2checkout.module, line 12
Integrates 2Checkout.com's redirected payment service.

Code

function uc_2checkout_menu() {
  $items = array();
  $items['cart/2checkout/complete'] = array(
    'title' => 'Order complete',
    'page callback' => 'uc_2checkout_complete',
    'access callback' => 'uc_2checkout_completion_access',
    'type' => MENU_CALLBACK,
    'file' => 'uc_2checkout.pages.inc',
  );
  return $items;
}