This module allows OSCommerce Snapshots after 1/11/2002 to work successfully with Worldpay.
Specific thanks to Graeme Simms, and to others on the OSC Forums for their help in getting this contribution working.
This payment module uses callbacks to allow full control of the payment screen when a payment is made or cancelled.
Please read the install.txt file in the zip file for instructions.
Please test thoroughly before using in a live environment.
Good Luck, and remember to back up everything before using.
Regards
Graeme
Legend: 
Download

Report
I am still having issues with the '& language' part of the callback url.
If you are having the same problem and you only use a single language you can remove this part.
find:
tep_draw_hidden_field('MC_callback', $worldpay_callback[1] . '&language=' . $language_code) .
or:
tep_draw_hidden_field('MC_callback', $worldpay_callback[1] . '?language=' . $language_code) .
replace with:
tep_draw_hidden_field('MC_callback', $worldpay_callback[1]) .
I have attached a /includes/modules/payment/worldpay.php file with this change already made.
If you are NOT using SSL at your site you may get the "there are secure and non-secure items" warning from worldpay as the callback is made. This is because the standard wpcallback.php page uses your standard site images (which are not secure!).
I have removed all images and the warning message is no more!
This is a new wpcallback.php file ONLY with all images and reference to the main stylesheet removed.
It works for me but backup first and test after!
Included new bugfixes fpor /includes/modules/worldpay.php.
Language files for german, french and japanese shops.
Integration der Bugfixes für /includes/modules/worldpay.php.
Sprachdateien für deutsche, französische und japanische Shops.
Error - callback fails
You need to edit the file:
catalogincludesmodulespaymentworldpay.php
Change Line 138
FROM:
tep_draw_hidden_field('MC_callback', $worldpay_callback[1] . '?language=' . $language_code) .
TO:
tep_draw_hidden_field('MC_callback', $worldpay_callback[1] . '&language=' . $language_code) .
Only uploaded the 2 language files.
Only uploaded the 2 language files.
Only uploaded the 2 language files.
There is a show-stopping issue with this module if your callback URL uses https. The callback URL in the WorldPay form submission is empty.
Instructions are in the zip file.
Eventually, it would be good if a more generic fix for this was produced that detects whether your page is http or https and changes that string accordingly. But this should get you up and running if you were having problems.
Cleaned up some coding errors and reduced "refresh" time as this was causing callback to fail becuase of impatient buyers.
Updated installation instructions.
For support please post in the forums and not by email to me.
added minor changes to enable selection of 'Payment Zone' in admin in worldpay.php.
SORRY !! ignore the previous post (it wouldn't work if your not using ssl!)
This version of the contribution does 3 things.
Solves the duplicate session error some people were having.
Makes it so this contib can be used with shared ssl.
Returns the user to the site using ssl (if installed)
PLEAE READ THE INSTRUCTIONS
If you ARE using SSL for your checkout procedure use this call back URL
https://<wpdisplay item="MC_callback">
If you are NOT using SSL use this one
http://<wpdisplay item="MC_callback">
This version of the contribution solves the duplicate session error some people were having.
PLEAE READ THE INSTRUTIONS
If you ARE using SSL for your checkout procedure use this call back URL
https://<wpdisplay item="MC_callback">
If you are NOT using SSL use this one
http://<wpdisplay item="MC_callback">
Latest version featuring the following enhancements. These anhancements have been written by Ian-San (Ian Davidson)
Cleaned up code;
Improved callback page layout a bit;
Moved the static English to language file to allow for bi-lingual use;
Now posting a language code to WP so setting the WP Payment Page Language to be the same as the OS Commerce site;
Redirect on Payment failure now to Checkout Payment to encourage another attempt;
Reduced the re-direct time to 8 seconds (I got nervous waiting!);
Added MD5 (Untested);
Made callback dynamic to allow for multi-store implementation.
IMPORTANT NOTE IF USING THIS VERSION: YOU MUST CHANGE THE CALLBACK URL IN WP ADMIN TO <wpdisplay item="MC_callback"> - see the installation instructions for details.
Please backup all files before installing and test before using in a live environment.
Adds the following features to the Worldpay payment module.
1. Currency update to allow for currencies with no decimal places
2. Removes boxes from display to prevent user clicking a link before database update has taken place.
3. Auto update or user click to process.php order when payment is successful.
This version should be used on all snapshots after 14/01/2003.
Fixes problem when using Worldpay module with multi currency.
Update to add payment sort order on payment screen, and adds default order status (ie Processing, Pending or Delivered).
This payment module takes advantages of changes made to the checkout process after 14/01/2003, therefore this release is for snapshots after 14/01/2003 only.
Unload previous Worldpay version before installing this one.
Following a request from a user, this module adds a Pre-Authorisation option to version 1.0 of the Worldpay 4 module.
Please read the attached install.txt for installation/upgrade instructions.
This module allows OSCommerce Snapshots after 1/11/2002 to work successfully with Worldpay.
Specific thanks to Graeme Simms, and to others on the OSC Forums for their help in getting this contribution working.
This payment module uses callbacks to allow full control of the payment screen when a payment is made or cancelled.
Please read the install.txt file in the zip file for instructions.
Please test thoroughly before using in a live environment.
Good Luck, and remember to back up everything before using.
Regards
Graeme