Hi all,
I have a very crude payment gateway here
http://www.ubercart.org/contrib/6147
for Realex payments.
It works though.
I'm trying to upgrade it to Drupal 6,
tidying it up, based on
http://drupal.org/project/uc_worldpay
I have the form submission to Realex working fine
but I've hit a hitch on processing the response.
I keep getting this php fatal error
when calling the payment response URL
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/custom/uc_realex/uc_cart.pages.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /home/alan/projects/drupal6/includes/menu.inc on line 346My menu definition is
<?php
/**
* Implementation of hook_menu().
*/
function uc_realex_menu() {
$items['cart/uc_realex/complete'] = array(
'title' => t('Order complete'),
'page_callback' => 'uc_realex_complete',
'access arguments' => user_access('access content'),
'type' => MENU_CALLBACK,
);
return $items;
}
?>Pretty much the same as uc_worldpay.
What might be causing the error?
Am I missing something obvious?
Regards
Alan
