1) Upload includes directory from this zip 2) Modify the file /checkout_payment.php, at around line 154: ------------------------------------ change ------------------------------------ if (isset($HTTP_GET_VARS['payment_error']) && is_object(${$HTTP_GET_VARS['payment_error']}) && ($error = ${$HTTP_GET_VARS['payment_error']}->get_error())) { ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo tep_output_string_protected($error['title']); ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice"> <tr class="infoBoxNoticeContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td> ------------------------------------ to ------------------------------------ if ((isset($HTTP_GET_VARS['payment_error']) && is_object(${$HTTP_GET_VARS['payment_error']}) && ($error = ${$HTTP_GET_VARS['payment_error']}->get_error())) || ($HTTP_GET_VARS['payment_error'] == "wp_error")) { $error_msg = ($HTTP_GET_VARS['payment_error'] == "wp_error") ? $HTTP_GET_VARS['error'] : $error['error']; ?> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><b><?php echo tep_output_string_protected($error['title']); ?></b></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice"> <tr class="infoBoxNoticeContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error_msg); ?></td> ------------------------------------ Optional (IMPORTANT if you are on GoDaddy hosting) 3) In includes/modules/payment/worldpay_invisible, starting at line 33, ending line 35 are three commented lines. If you are hosted with GoDaddy, these lines MUST be uncommented in order for the module to work. If they are not, all transactions will simply time out, as GoDaddy requires all Curl SSL transactions to go through their proxy. ------------------------------------ Having completed the above three tasks, you are almost ready to process transactions with your WorldPay Select Invisible account. Before you do, you must hit install for the WorldPay Invisible payment module, and fill in your details (Installation ID, Authorisation Password and Refund Policy). All requirements for usage of WorldPay Invisible are met (display of store address, contact details, refund policy, accepted payment types and WorldPay logo on payment page), so after these have been filled in you should be ready to go. Note that by default, the Test Flag is set to 100 (successful test transaction). In order to go live, set this to 0 from the configuration panel. This module has been tested on a clients online store, and by staff at WorldPay and has been instrumental in the activation of an Invisible Installation under osCommerce. This is my first osCommerce contribution, so if you do indeed find any errors, or ways it could be improved please do not hesitate to modify or contact me. Enjoy! Psilocybeing http://www.othala.co.uk/

Files