1. Requirements
- osCommerce v2.2
- Apache Web Server
- PHP 4 or above
- MySQL database server
2. Installing osCommerce
Download osCommerce from
www.oscommerce.com and follow the instructions in the documentation file to install the software on your server.
You can also download osCommerce with the Telesign module already integrated (from
here) - the installation process is exactly the same. In that case you may proceed to the
Configuration section.
3. Installing Telesign Module
Start by downloading the module package from
here and unpacking it to the same location as osCommerce parent directory.
There are two ways to install osCommerce Telesign Module:
Replacing original files - this means replacing files from osCommerce parent directory with files included in the module package. This method is simplier and faster, but you should use it only if you haven't modified osCommerce files yet, otherwise your changes may be cancelled.
Modifying existing files - this means modifying existing osCommerce files using patches included in the module package. You should use this method if you modified osCommerce files and you want to keep the changes.
Note: In all examples osCommerce is installed in
/public_html/catalog.
Replacing original files
Simply copy the content of
telesign_replace directory from the module package to your osCommerce parent directory. Some of the files will be replaced with the new ones.
Note: Use
cp command with
b option to backup existing osCommerce files.
Example:
|
[gk@blaze ~]$ cd ./public_html/catalog
[gk@blaze catalog]$ cp -rvb ./telesign_replace/* ./
...
[gk@blaze catalog]$
|
Modifying existing files
This method uses the
patch command to modify the existing osCommerce files. Copy the content of the
telesign_patch directory from the module package to your osCommerce parent directory. Use the
patch command for each patch file, as shown in the example below.
Note: Some new files will also be added.
Example:
|
[gk@blaze catalog]$ cp -rvb ./telesign_patch/* ./
[gk@blaze catalog]$ patch -p0 account_edit.php < account_edit.diff
[gk@blaze catalog]$ patch -p0 create_account.php < create_account.diff
[gk@blaze catalog]$ patch -p0 ./admin/modules.php < ./admin/modules.diff
[gk@blaze catalog]$ patch -p0 ./admin/includes/boxes/modules.php < ./admin/includes/boxes/modules.diff
[gk@blaze catalog]$ patch -p0 ./admin/includes/languages/english.php < ./admin/includes/languages/english.diff
[gk@blaze catalog]$ patch -p0 ./admin/includes/languages/espanol.php < ./admin/includes/languages/espanol.diff
[gk@blaze catalog]$ patch -p0 ./admin/includes/languages/german.php < ./admin/includes/languages/german.diff
[gk@blaze catalog]$ patch -p0 ./admin/includes/languages/english/modules.php < ./admin/includes/languages/english/modules.diff
[gk@blaze catalog]$ patch -p0 ./admin/includes/languages/espanol/modules.php < ./admin/includes/languages/espanol/modules.diff
[gk@blaze catalog]$ patch -p0 ./admin/includes/languages/german/modules.php < ./admin/includes/languages/german/modules.diff
[gk@blaze catalog]$ patch -p0 ./includes/form_check.js.php < ./includes/form_check.js.diff
[gk@blaze catalog]$ patch -p0 ./includes/languages/english.php < ./includes/languages/english.diff
[gk@blaze catalog]$ patch -p0 ./includes/languages/espanol.php < ./includes/languages/espanol.diff
[gk@blaze catalog]$ patch -p0 ./includes/languages/german.php < ./includes/languages/german.diff
[gk@blaze catalog]$
|
4. Configuration
To complete your Telesign module installation click the
install button in
Modules->Add-Ons->TeleSign in the admin panel.
Now you can enable/disable Telesign phone verification and configure your Telesign module.
Note: You must specify your TeleSign Customer Id and TeleSign Authentication Id - these can be obtained from
www.telesign.com
5. Database info
Telesign module updates the database automatically (when clicking the
install button in the admin panel).
Module adds two columns in the
customers and
countries tables.
6. Help
If you have any questions about the installation please contact me at:
tomw@telesign.com
7. Downloads