Tracking module
for osCommerce Online Merchant v2.2
This add-on is register_globals compatible
This contribution is a PHP class to integrate couriers' order tracking systems into osCommerce. The idea is to allow people to easily write their own "plugin" courier modules to support their preferred courier.
Functionality
1. Simple installation / upgrade / removal of courier modules
2. Enabling / disabling of installed courier modules.
3. Tracking ID validity checking.
4. Adds full tracking information to customer's order update e-mail.
5. Adds tracking IDs and courier logo to the customer's order history stack in account_history_info.php
6. Querying courier site via cURL / AJAX to retrieve courier details.
7. Full error handling of AJAX and cURL components.
8. Provides a simple way to "clean" returned screen grab for displaying in the results div.
9. Fully multilingual - this includes all JavaScript (generated server-side) & error handling messages.
10. Allows multiple couriers to be used at the same time.
When a tracking ID is clicked in either the admin order processing screen or the customer's order history, the page will dynamically load the current status of the parcel using AJAX. All this is done in the background, without a page refresh and without your customer / the order processor leaving the site.
Users having JavaScript disabled will be offered an alternative link to the courier's website, bypassing the AJAX function.
Developers
If you're looking to write your own module to support your courier, I have provided comprehensive documentation, sample code, sample installation documentation etc. to make the process as easy as possible. This is included in this zip.
Legend: 
Download

Report
Full package
Courier module to support Fedex UK (Formerly ANC).
Credit goes to Chris23.
This addon works with hermes logistik track & trace.
Credit goes to Chris23. Thanks for your help finishing this add-on.
This addon works without dhl business account.
Credit goes to Chris23. Thanks for your help finishing this add-on.
Minor updates to fit Posten Norge's new tracking.
The v1 version doesn't work any more, I have modified v1 to use the simpletracking.com website instead of Fedex. Basically issue with new re-developed Fedex website.
Courier module to support Ceska posta. Czech language
Full package
Courier module to support SwissPost.
Supports:
Parcels, Swiss Express, International Mail, Intercity Express.
Languages:
English, German
Credit goes to Chris23.
Royal Mail are at it again!
They have completely revised their site url structure.
The existing module v1.3 is no longer working.
This version will work with the new urls
If you are upgrading from v1.3, follow the "UPGRADE" link in readme.html. Please follow these instructions carefully.
Tested with standard recorded ID. Report any problems with international, special delivery etc on the forum. Thanks
Courier module to dhl.
This addon works with dhl business account.
Credit goes to Chris23. Thanks for your help finishing this add-on.
http://www.sameday.ca
Read the "readme.txt" file
http://www.purolator.com
Read the "readme.txt" file
http://www.gls-ship.com
Read the "readme.txt" file
This is an update to the CityLink module.
It provides support for tracking IDs related to Target Express consignments (Target Express are now part of CityLink)
The returned data for the Target Express IDs were failing.
FULL VERSION plus upgrading from v1.1 - see readme.html
This is a module for the South African Post office onlne tracking.
Big thanks to Chris for his assistance.
Sipho
TNT Express (UK) module. A big thanks to Chris23 for cleaning up the code that displays the tracking results.
FedEx module I collaborated on some months ago and neglected to upload!
Parcelforce have recently changed their returned html (site redesign) breaking v1.0.
This version fixes this issue
FULL VERSION - if upgrading, follow "Upgrading" in readme.html
This is the plugin for tracking with Posten Norge AS
All credit to Chris23 ;)
Tags : pakkesporing posten norge
DPD (Dynamic Parcel Distribution) is the new name for Parceline. See notes below.
I believe this plug-in will only work for UK booked consignments.
Parceline will now (31st March 2008) be known as DPD. It is a natural progression from a company that started life as Courier Express in the mid 70s and became Parceline in 1984. As Parceline continued to evolve, expanding the range of services whilst continually innovating to achieve industry-leading levels of service. They have also continuously used their expertise and cutting-edge technology to create a competitive advantage for customers. As DPD, they will continue with this customer-focused approach. Across Europe 12 other parcel companies owned by the parent company La Poste who have also changed their name to DPD. So the name that collects your parcel in the UK is now the same as the one that delivers it throughout Europe.
Royal Mail have recently changed the returned HTML depending on tracking number type.
The enclosed rm_tracking.php will cater for the currently KNOWN return types.
If you find that certain services e.g international are failing, PLEASE report this on the forum; I don't have access to all the available types of ID!!
Upload enclosed file, overwriting existing rm_tracking.php
When installing, the standard filename.php file in admin/includes is missing the "Administrators" file (under configuration).
For STANDARD/NEW INSTALATIONS:
The included zip file contains the file path. Open "catalog" & ftp the "admin" folder to your root.
CHANGE MANUALLY.
Open YOUR root/admin/includes/filename.php
under:
// define the filenames used in the project
ADD this line as the first entry:
define('FILENAME_ADMINISTRATORS', 'administrators.php');
Courier module to support SwissPost.
Credit goes to Chris23. Thanks for your help finishing this add-on.
Courier module to support Parceline.
Support via the forum.
Module to provide tracking for Interlink Express
Here is a module for business post.
It currently is designed to use to digit consignment numbers. I set it to 10 as that is what our book uses.
If you need it altering leave a message in the support thread
http://forums.oscommerce.com/index.php?showtopic=282886
Thanks to Chris23 for the Tracking Module and helping finish off theis addon for me.
Regards
This new version allows validation of both current tracking ids used by Citylink (3 letters + 5 digits OLD) and 2 letters + 6 digits NEW)
Please read encloded readme.html. If you have an existing version of CityLink, follow the "Upgrading" link.
This is a maintenance release. It rolls up the previous bugfix and also includes updated / corrected documentation. It supersedes previous versions.
NB. If you have applied the Nov 14 patch, you can safely ignore this upload.
FULL VERSION.
There is a bug in ALL previous versions of the Royal Mail tracking module.
Please read encloded readme.html. If you have an existing version of Royal Mail Track & Trace, follow the "Upgrading" link.
This is a new Royal Mail Track and Trace module to fix a problem caused by Royal Mail recently changing their page redirects.
Please read encloded readme.html. If you have an existing version of Royal Mail Track & Trace, follow the "Upgrading" link.
There is a bug in the tracking module class in the original upload. This is the fixed class.
Upload this file to catalog/includes/classes, overwriting the existing file
Courier module providing tracking for Initial Citylink
Requires the Tracking module contribution below.
This must be installed first
Support forum:
http://forums.oscommerce.com/index.php?showtopic=282887
Courier module providing tracking for Royal Mail Services
Requires the Tracking module contribution below.
This must be installed first
Support forum:
http://forums.oscommerce.com/index.php?showtopic=282887
Courier module providing tracking for Parcelforce.
Requires the Tracking module contribution below.
This must be installed first
Support forum:
http://forums.oscommerce.com/index.php?showtopic=282887
For support:
http://forums.oscommerce.com/index.php?showtopic=282886
This contribution is a PHP class to integrate couriers' order tracking systems into osCommerce. The idea is to allow people to easily write their own "plugin" courier modules to support their preferred courier.
Functionality
1. Simple installation / upgrade / removal of courier modules
2. Enabling / disabling of installed courier modules.
3. Tracking ID validity checking.
4. Adds full tracking information to customer's order update e-mail.
5. Adds tracking IDs and courier logo to the customer's order history stack in account_history_info.php
6. Querying courier site via cURL / AJAX to retrieve courier details.
7. Full error handling of AJAX and cURL components.
8. Provides a simple way to "clean" returned screen grab for displaying in the results div.
9. Fully multilingual - this includes all JavaScript (generated server-side) & error handling messages.
10. Allows multiple couriers to be used at the same time.
When a tracking ID is clicked in either the admin order processing screen or the customer's order history, the page will dynamically load the current status of the parcel using AJAX. All this is done in the background, without a page refresh and without your customer / the order processor leaving the site.
Users having JavaScript disabled will be offered an alternative link to the courier's website, bypassing the AJAX function.
Developers
If you're looking to write your own module to support your courier, I have provided comprehensive documentation, sample code, sample installation documentation etc. to make the process as easy as possible. This is included in this zip.