| 1 |
<?php |
<?php |
| 2 |
// $Id: uc_paygate.module,v 1.2.2.2 2009/10/07 14:17:31 maxheadroom Exp $ |
// $Id: uc_paygate.module,v 1.2.2.3 2009/10/08 10:58:48 maxheadroom Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 21 |
$items['cart/paygate/complete'] = array( |
$items['cart/paygate/complete'] = array( |
| 22 |
'title' => 'PayGate transaction result', |
'title' => 'PayGate transaction result', |
| 23 |
'page callback' => 'uc_paygate_complete', |
'page callback' => 'uc_paygate_complete', |
| 24 |
'access arguments' => array('uc_paygate_completion_access'), |
'access callback' => TRUE, |
| 25 |
'type' => MENU_CALLBACK, |
'type' => MENU_CALLBACK, |
| 26 |
); |
); |
| 27 |
|
|
| 28 |
return $items; |
return $items; |
| 29 |
} |
} |
| 30 |
|
|
|
function uc_paygate_completion_access() { |
|
|
return TRUE; |
|
|
} |
|
| 31 |
/** |
/** |
| 32 |
* Implementation of hook_form_alter(). |
* Implementation of hook_form_alter(). |
| 33 |
*/ |
*/ |