Difference between revisions of "X-Cart:Kayako integration"

From X-Cart 4 Classic
Jump to: navigation, search
m (Customized Contact Us form)
(System requirements)
 
(10 intermediate revisions by 4 users not shown)
Line 11: Line 11:
  
  
[[Image:XC_JR-01.png|center]]
+
[[Image:XC-Kayako-2.png|center]]
  
 
== System requirements ==
 
== System requirements ==
  
To be able to successfully install and use the X-Kayako integration module, you must have a working copy of X-Cart Gold or X-Cart Pro already installed on your server. Make sure that the version of the X-Kayako integration module matches the version of your copy of X-Cart.
+
To be able to successfully install and use the X-Kayako integration module, you must have a working copy of X-Cart Gold or X-Cart Pro v 4.4.0 and above already installed on your server. Make sure that the version of the X-Kayako integration module matches the version of your copy of X-Cart. The module requires PHP version 5.3.x and newer.
  
{{Note|If you do not remember the version of your copy of X-Cart, you can find it in the <u>Summary/Environment info</u>section of the X-Cart Admin area (select <u>Administration</u> -> <u>Summary</u>) on the menu.}}
+
{{Note|If you do not remember the version of your copy of X-Cart, you can find it in the <u>Environment info</u>section of the [[X-Cart:Summary_Page |Summary]] page in X-Cart Admin area.}}
  
 
==Installation and removal==
 
==Installation and removal==
Line 45: Line 45:
 
{{Note1|<b>Important:</b> Make sure that you maintain the directory structure while unpacking and uploading the distribution package; otherwise, some critical files can be overwritten! }}
 
{{Note1|<b>Important:</b> Make sure that you maintain the directory structure while unpacking and uploading the distribution package; otherwise, some critical files can be overwritten! }}
  
3. In a web browser, run the installation script at httр://www.example.com/install- xkayako.php, replacing the variable www.example.com with the real domain name, where your X-Cart is installed.
+
3. In a web browser, run the installation script at http://www.example.com/install-kayako.php, replacing the variable www.example.com with the real domain name, where your X-Cart is installed.
  
4. Enter the Auth code, accept the License Agreement and click the '''Next''' button.
+
4. Enter the [[X-Cart:FAQs#What_is_Auth_code_and_where_can_I_find_it.3F|Auth code]], accept the License Agreement and click the '''Next''' button.
 
 
{{Note|Auth code is a random code that was generated after you installed your copy of X-Cart. If you do not remember your Auth code, find it in the Summary section of the X-Cart Admin area (select <u>Tools</u>-><u>Summary</u> on the administration menu), right over the License info subsection. Another way to get the code is to retrieve the value of the $installation_auth_code variable from the file <u><xcart_dir>include/install.php</u> .}}
 
  
 
5. The installation script copies the files and activates the module. Click the '''Next '''button to continue.
 
5. The installation script copies the files and activates the module. Click the '''Next '''button to continue.
Line 62: Line 60:
 
1. In a web browser, run the installation script at http://www.example.com/install-kayako.php, replacing the "www.example.com" with the real domain name, where your X-Cart is installed.
 
1. In a web browser, run the installation script at http://www.example.com/install-kayako.php, replacing the "www.example.com" with the real domain name, where your X-Cart is installed.
  
2. Choose the <u>Uninstall the module</u> option, enter the Auth code, accept the License Agreement and click the '''Next''' button.
+
2. Choose the <u>Uninstall the module</u> option, enter the [[X-Cart:FAQs#What_is_Auth_code_and_where_can_I_find_it.3F|Auth code]], accept the License Agreement and click the '''Next''' button.
 
 
{{Note|Auth code is a random code that was generated after you installed your copy of X-Cart. If you do not remember the Auth code, find it in the Summary section of the X-Cart Admin area (select <u>Tools</u>-><u>Summary</u> on the administration menu), right over the License info subsection. Another way to get the code is to retrieve the value of the $installation_auth_code variable from the file <u><xcart_dir>include/install.php</u> .}}
 
  
 
3. Once the installation script has removed the X-Kayako integration module files and deactivated the module, click the '''Next'''button to complete the uninstallation.
 
3. Once the installation script has removed the X-Kayako integration module files and deactivated the module, click the '''Next'''button to complete the uninstallation.
Line 101: Line 97:
  
 
1. Login to your Kayako admin panel.
 
1. Login to your Kayako admin panel.
 +
 
2. On the admin panel, enable the API at <u>http://<your_app>.kayako.com/admin/Base/Settings/RESTAPI</u>
 
2. On the admin panel, enable the API at <u>http://<your_app>.kayako.com/admin/Base/Settings/RESTAPI</u>
  
Line 107: Line 104:
 
and then save changes.
 
and then save changes.
  
2. Go to <u>http://<your_app>.kayako.com/admin/Base/RESTAPI/Index</u> and copy the '''Copy API Key''', '''Secret Key''' and '''API URL''' values
+
3. Go to <u>http://<your_app>.kayako.com/admin/Base/RESTAPI/Index</u> and copy the '''Copy API Key''', '''Secret Key''' and '''API URL''' values
  
 
[[Image:XC-KAYAKO-API2.png|center]]
 
[[Image:XC-KAYAKO-API2.png|center]]
Line 132: Line 129:
  
 
4. In the X-Kayako Options section, enter your API key and Application name and then click the '''Apply changes''' button.
 
4. In the X-Kayako Options section, enter your API key and Application name and then click the '''Apply changes''' button.
==Customized ''contact us'' form==
+
==Customized ''Сontact us'' form==
 +
 
 +
Once the store is integrated with Kayako, you can replace your regular <u>Contact us</u> form at the storefront with Kayako's feedback submission form. Thus, a visitor's inquiry would be automatically routed to your customer support staff and handled much faster.
 +
'''To replace the ''Contact Us'' form with the ''Helpdesk'' form:'''
 +
 
 +
1. In the X-Cart admin area, select '<u>Help Desk -> Settings</u>' on the menu.
 +
 
 +
2. On the <u>Settings</u> page that appears, select '''Redirect users to Help Desk section when they visit the "Contact Us" page'''.
 +
 
 +
: [[Image:XC-Kayako-ContactUs.png]]
  
To be explained.
+
3. Click the '''Apply changes''' button.
  
 
==Managing customer support requests in X-Cart admin area==
 
==Managing customer support requests in X-Cart admin area==
  
 
To be explained.
 
To be explained.

Latest revision as of 18:25, 30 January 2013

Overview

The X-Kayako integration module is an add-on for integrating your X-Cart with Kayako’s services.

Key benefits of using X-Kayako itegration module:

  • Authorization in Kayako with X-Cart user profile
  • Using Kayako tickets for Contact us form
  • Admin's Dashboard for fast (without login to Kayako staff panel)


XC-Kayako-2.png

System requirements

To be able to successfully install and use the X-Kayako integration module, you must have a working copy of X-Cart Gold or X-Cart Pro v 4.4.0 and above already installed on your server. Make sure that the version of the X-Kayako integration module matches the version of your copy of X-Cart. The module requires PHP version 5.3.x and newer.

Note: If you do not remember the version of your copy of X-Cart, you can find it in the Environment infosection of the Summary page in X-Cart Admin area.

Installation and removal

These instructions on both installing and removing the X-Kayako integration module are the same for both X-Cart Gold and X-Cart Pro.

To install the X-Kayako integration module:

1. Obtain a distribution package for the X-Kayako integration module by downloading it from the File Area section of your X-Cart Accountaccount. The distribution package is archived in the file xkayako-x.y.z.tgz, where x, y and z indicate the version of the module. Make sure the version of the module matches the version of your copy of X-Cart.

2. Copy the distribution package to the X-Cart root directory on your server or hosting account.

  • If you use a Windows-based server or a UNIX-based server without terminal access:
a) Extract the contents of the archive with the X-Kayako integration module files to a directory on your system using your favorite compression program (WinZIP or any other archiver that supports TAR files).
b) Use an FTP client to upload all the files extracted from the archive (retaining the directory structure) to the X-Cart root directory on your server or hosting account.
  • If you use a UNIX-based server with terminal access:
a) Use an FTP client to upload the archive with the X-Kayako integration module distribution package to the X-Cart root directory on your server or hosting account.
b) Decompress the package by typing the following command:
tar -xzvf  xkayako-x.y.z.tgz
Important: Make sure that you maintain the directory structure while unpacking and uploading the distribution package; otherwise, some critical files can be overwritten!

3. In a web browser, run the installation script at http://www.example.com/install-kayako.php, replacing the variable www.example.com with the real domain name, where your X-Cart is installed.

4. Enter the Auth code, accept the License Agreement and click the Next button.

5. The installation script copies the files and activates the module. Click the Next button to continue.

6. The installation script generates a new system fingerprint. Click the Next button to complete the installation.

7. Use the ADMINISTRATOR AREA link to log in to the Admin area.


To uninstall the X-Kayako integration module:

1. In a web browser, run the installation script at http://www.example.com/install-kayako.php, replacing the "www.example.com" with the real domain name, where your X-Cart is installed.

2. Choose the Uninstall the module option, enter the Auth code, accept the License Agreement and click the Next button.

3. Once the installation script has removed the X-Kayako integration module files and deactivated the module, click the Nextbutton to complete the uninstallation.

4. On the Uninstallation complete screen, click Next to leave the Wizard.

Note: Important: After you have uninstalled the X-Kayako integration module, make sure to remove the module's distribution package from your web directory as well.

Enabling X-Kayako Integration Module in X-Cart

Once you have installed the X-Kayako integration module, enable it in the X-Cart Admin area. Otherwise, you will be unable to use the module for launching the affiliate system at your store.

To enable the X-Kayako integration module:

  1. Log in to the X-Cart Admin area and go to the Modules section (select Settings -> Modules on the administration menu).
  2. On the list of modules, find the "X-Kayako integration" item and select the check box by the item's name.
  3. Scroll down to the bottom of the page and click the Apply changes button to apply the changes.
XC-KAYAKO-ENABLE.png

Now you can leave alone your X-Cart for a few moments and switch back to Kayako.

Setting up Kayako integration module

To be able to use the X-Kayako integration module, you must first get an account with Kayako. If you already have an account, just skip to 'Creating application'.

To create an account with Kayako:

1. Open the http://www.kayako.com/ website.

2. On the Kayako home page that appears, click the Free Trial button and follow the registration instructions.

Further on, we will assume that you have successfully registered and obtained a Kayako account.

Enabling API

1. Login to your Kayako admin panel.

2. On the admin panel, enable the API at http://<your_app>.kayako.com/admin/Base/Settings/RESTAPI

XC-KAYAKO-API1.png

and then save changes.

3. Go to http://<your_app>.kayako.com/admin/Base/RESTAPI/Index and copy the Copy API Key, Secret Key and API URL values

XC-KAYAKO-API2.png

to the corresponding fields on X-Kayako integration module configuration page (see below), adjust other module settings.

4. Click the Apply changes button to save your settings.

Configuring X-Kayako integration module in X-Cart

Now, tell your X-Cart what it should do with all the stuff you have just set up -- configure the X-Kayako integration module that you installed a few steps earlier.

To configure the X-Kayako integration module in your X-Cart Admin area:

1. Log in to the X-Cart Admin area.

2. Select Settings -> Modules on the menu.

3. Scroll down until you see the X-Kayako integration module item and then click on the Configure link by the item.

This opens a page with options and settings for the X-Kayako integration module.

XC-KAYAKO-API3.png

4. In the X-Kayako Options section, enter your API key and Application name and then click the Apply changes button.

Customized Сontact us form

Once the store is integrated with Kayako, you can replace your regular Contact us form at the storefront with Kayako's feedback submission form. Thus, a visitor's inquiry would be automatically routed to your customer support staff and handled much faster. To replace the Contact Us form with the Helpdesk form:

1. In the X-Cart admin area, select 'Help Desk -> Settings' on the menu.

2. On the Settings page that appears, select Redirect users to Help Desk section when they visit the "Contact Us" page.

XC-Kayako-ContactUs.png

3. Click the Apply changes button.

Managing customer support requests in X-Cart admin area

To be explained.