|
|
|
|
|
|
|
|
1. Requirements
- Unix/Linux/Windows/MacOS X Server
2. Installing X-Cart
Follow the instructions in
X-Cart Manual to download and install the software on your server.
3. Installing Telesign Module
Start by downloading the module package from
here (update: 22.04.2010) and unpacking it somewhere on your hard drive (NOT in the same location as X-Cart parent directory!).
To install TeleSign Verification module for X-Cart please follow the steps:
- Execute SQL queries in the file sql.txt. You can do this using phpMyAdmin or any other SQL management tool.
- Make a backup copy of the file skin1\customer\home_main.tpl from your X-Cart directory
This is the only file you will have to overwrite. If you have custom modifications in this file please see Appendix A.
- Copy all files from _files directory to your X-Cart directory
- Modify cart.php located at your X-Cart directory:
- after line 261 add:
x_session_register('userphone',$userinfo['phone']); x_session_register('userccode',$userinfo['b_country']);
- Delete the cache:
- go to the var/cache directory and remove all *.php files
- go to the var/templates_c directory and remove all *.md5 and *.php files
- Log in to X-Cart admin panel (http://your-xcart/admin)
- Go to Settings->General settings->Telesign Verification
- Enter your Telesign's Customer ID and Authentication ID and click Save button. If you don't know where to find these ID-s see Appendix B
From now on every user who will register on your shop will have to enter his/her phone number, and type the PIN sent via SMS/phone call
Appendix A
Preserving custom modifications in home_main.tpl file.
- Open the home_main.tpl file in any text editor, eg. Notepad
- Scroll down and find this text:
{else} {include file="common_templates.tpl"} {/if}
- Above this text add these 2 lines:
{elseif $main eq "telesign"} {include file="modules/Telesign_Verification/telesign_dialog.tpl"}
- The bottom of the home_main.tpl file after this change should look like this:
{elseif $main eq "need_login" || $main eq "login_incorrect" || $main eq "antibot_error" || $main eq "disabled"} {include file="customer/main/error_login.tpl" is_remember="Y"} {elseif $main eq "telesign"} {include file="modules/Telesign_Verification/telesign_dialog.tpl"} {else} {include file="common_templates.tpl"} {/if}
Appendix B
To get Customer ID and Authentication ID you need to register on www.telesign.com
Just after you register you should receive an e-mail with these 2 ID-s.
If you registered some time ago you can log in on www.telesign.com, and go to page 'Get Integration Information' (https://www.telesign.com/account_integration.php). Scroll down and you will find
Customer ID and Authentication ID.
4. Help
If you have any questions about the installation please contact me at:
tomw@telesign.com
|
|
|
|
|
Copyright © 2008 by TeleSign Corp. All rights reserved. Read our
Privacy Policy.
|