Closed (fixed)
Project:
UC Worldpay
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2010 at 09:55 UTC
Updated:
7 Dec 2013 at 20:05 UTC
Jump to comment: Most recent
Current code is:
function uc_worldpay_menu($may_cache) {
if ($may_cache) {
$items[] = array(
'path' => 'cart/worldpay/complete',
'title' => t('Order complete'),
'callback' => 'uc_worldpay_complete',
'access' => user_access('access content'),
'type' => MENU_CALLBACK,
);
}
return $items;
}
Should be:
function uc_worldpay_menu() {
$items['cart/worldpay/complete'] = array(
'title' => 'Order complete',
'page callback' => 'uc_worldpay_complete',
'access arguments' => array('access content'),
'type' => MENU_CALLBACK,
);
return $items;
}
Comments
Comment #1
jamestombs commentedJust noticed that the hook_form_alter() code is wrong too.
It is:
Should be:
In fact it looks like the completely wrong file has been uploaded for 6.x-1.dev
Comment #2
gruberroland commentedSeems to be already fixed