sitting bull Posted August 31, 2006 Share Posted August 31, 2006 Please can anybody help. My account at Worldpay is active but when an order is placed The purchaser does not return to my site and no order description is received by me. I simply get payment confirmation. the error message from WP is as follows:- Our systems have detected that your callback has failed. This callback failure means we were unable to pass information to your server about the following transaction: Transaction ID: 192389927 Cart ID: osCsid=c8956835d6b1034398f57f484d555ea0 Installation ID: 135954 Error reported: Callback to http://www.thegiftgallery-online.co.uk/cat...CK?language=en: NOT OK, recevied HTTP status: 404 Server Reference: mggaeq3a:callbackFailureEmail-1342413:MerchReq-611 Also, if you usually return a response page for us to display to the Shopper within the time allowed (1 minute), this will not have been displayed. WorldPay will have displayed to the Shopper the response page file (resultY.html or resultC.html) held for your installation on the WorldPay server. This will be your own custom version, if you have supplied one, or, if not, the WorldPay default version. :blink: Is ther anything I should be changing in the wp callback.php file which at present is as follows:- <?php /* $Id: wpcallback.php,v MS1a 2003/04/06 21:30 Author : Graeme Conkie ([email protected]) Title: WorldPay Payment Callback Module V4.0 Version 1.4 Revisions: Version 1.8 - cleaned up coding errors in wpcallback.php - reduced "refresh" to 2 seconds (less chance of callback failing) Gary Burton - www.oscbooks.com Version MS1a Cleaned up code, moved static English to language file to allow for bi-lingual use, Now posting language code to WP, Redirect on failure now to Checkout Payment, Reduced re-direct time to 8 seconds, added MD5, made callback dynamic NOTE: YOU MUST CHANGE THE CALLBACK URL IN WP ADMIN TO <wpdisplay item="MC_callback"> Version 1.4 Removes boxes to prevent users from clicking away before update, Fixes currency for Yen, Redirects to Checkout_Process after 10 seconds or click by user Version 1.3 Fixes problem with Multi Currency Version 1.2 Added Sort Order and Default order status to work with snapshots after 14 Jan 2003 Version 1.1 Added Worldpay Pre-Authorisation ability Version 1.0 Initial Payment Module osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_WPCALLBACK); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_WPCALLBACK, '', 'NONSSL')); ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE .' ' . NAVBAR_TITLE; ?></title> <base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="3" cellpadding="3"> <tr> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- left_navigation //--> <?php // Next line Removed for version 1.4 and above // require(DIR_WS_INCLUDES . 'column_left.php'); // Delete next line if using column echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_payment.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php // Success if(isset($transStatus) && $transStatus == "Y") { $url = tep_href_link(FILENAME_CHECKOUT_PROCESS, $cartId, 'NONSSL', false); echo "<meta http-equiv='Refresh' content='2; Url=\"$url\"'>"; ?> <tr> <td class="pageHeading" width="100%" colspan="2" align="center"><?php echo WP_TEXT_SUCCESS; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td> </tr> <tr> <td align="center" colspan="2"> <table border="2" bordercolor="#FF0000" width="80%" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center"><p><?php echo WP_TEXT_HEADING; ?></p><p><?php echo '<WPDISPLAY ITEM=banner>'; ?></p></td> </tr> </table> </td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td> </tr> <tr> <td class="pageHeading" width="100%" colspan="2" align="center"><h3><?php echo WP_TEXT_SUCCESS_WAIT; ?></h3></td> </tr> <tr align="right"> <td><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', false) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td> </tr> <?php // Failure } else { $url = tep_href_link(FILENAME_CHECKOUT_PAYMENT, $cartId, 'NONSSL', false); echo "<meta http-equiv='Refresh' content='2; Url=\"$url\"'>"; ?> <tr> <td class="pageHeading" width="100%" colspan="2" align="center"><?php echo WP_TEXT_FAILURE; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td> </tr> <tr> <td align="center" colspan="2"> <table border="2" bordercolor="#FF0000" width="80%" cellspacing="0" cellpadding="2"> <tr> <td class="main" align="center"><p><?php echo WP_TEXT_HEADING; ?></p><p><?php echo '<WPDISPLAY ITEM=banner>'; ?></p></td> </tr> </table> </td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td> </tr> <tr> <td class="pageHeading" width="100%" colspan="2" align="center"><h3><?php echo WP_TEXT_FAILURE_WAIT; ?></h3></td> </tr> <tr align="right"> <td><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL', false) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '50'); ?></td> </tr> <?php } ?> </table></td> <!-- body_text_eof //--> <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> <!-- right_navigation //--> <?php // Next line Removed for version 1.4 // require(DIR_WS_INCLUDES . 'column_right.php'); // Delete next line if using column echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> <!-- right_navigation_eof //--> </table></td> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php // Next line Optional for version 1.4 or above require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> I FEEL LIKE I AM SO CLOSE BUT SO FAR IN GETTING MY SITE WORKING PROPERLY. IF ANYONE CAN HELP I WOULD BE VERY GRATEFUL. Thanks Martin Link to comment Share on other sites More sharing options...
L!mit Posted August 31, 2006 Share Posted August 31, 2006 You need to define FILENAME_WPCALLBACK in filenames.php I think it should point to wpcallback.php , double check the readme in the payment module. Link to comment Share on other sites More sharing options...
sitting bull Posted August 31, 2006 Author Share Posted August 31, 2006 You need to define FILENAME_WPCALLBACK in filenames.php I think it should point to wpcallback.php , double check the readme in the payment module. I cant locate filename.php. Is it in file manager? The read me file in payments module doesn't make much sense to me at the moment. Pulling my hair out a little. Martin Link to comment Share on other sites More sharing options...
sugarenia Posted August 31, 2006 Share Posted August 31, 2006 I cant locate filename.php. Is it in file manager? The read me file in payments module doesn't make much sense to me at the moment. Pulling my hair out a little. Martin You can find filenames.php under the catalog/includes folder, I think. Link to comment Share on other sites More sharing options...
sitting bull Posted August 31, 2006 Author Share Posted August 31, 2006 You can find filenames.php under the catalog/includes folder, I think. THANKS GUYS & GALS. ALL SORTED. Link to comment Share on other sites More sharing options...
sitting bull Posted August 31, 2006 Author Share Posted August 31, 2006 THANKS GUYS & GALS. ALL SORTED. :lol: :blush: B) :rolleyes: ;) :thumbsup: :lol: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.