Difference between revisions of "X-Cart:EBay Integration"

From X-Cart 4 Classic
Jump to: navigation, search
m
(Obtaining an eBay user token)
Line 67: Line 67:
 
#* '''Select mode''': Specify the mode in which your store will be interacting with eBay: select Test to use the eBay Sandbox or Live to use the production environment.<br />[[File: |border]]<br />
 
#* '''Select mode''': Specify the mode in which your store will be interacting with eBay: select Test to use the eBay Sandbox or Live to use the production environment.<br />[[File: |border]]<br />
 
# Click the '''Create new token''' button:<br />[[File: |border]]<br />This launches the user sign-in and consent process: you will be redirected to the eBay site where you will need to log in to the eBay account for which you need the token and grant the application the permission to access your account on your behalf.  '''Important''': If you are creating a Sandbox user token, enter the credentials for a [https://developer.ebay.com/DevZone/sandboxuser/default.aspx Sandbox User]. If it is a token for Production, use the credentials for a user created on the [http://www.ebay.com/ Production eBay site] (the one you will use to sell items on eBay). Remember that User IDs for Sandbox users begin with "TESTUSER_".<br />Once application access has been granted, eBay will generate a new token, and you will be automatically redirected back to X-Cart. On the '''Get User Token''' screen, you should now be able to see the '''User Token''' field populated with your token value. Below this field you should be able to see information about the current status of your token ('''Token Status''') and token expiration date ('''Token Expiration'''):<br />[[File: |border]]<br />When your token is about to expire, you will be notified and provided with a button to create a new one.
 
# Click the '''Create new token''' button:<br />[[File: |border]]<br />This launches the user sign-in and consent process: you will be redirected to the eBay site where you will need to log in to the eBay account for which you need the token and grant the application the permission to access your account on your behalf.  '''Important''': If you are creating a Sandbox user token, enter the credentials for a [https://developer.ebay.com/DevZone/sandboxuser/default.aspx Sandbox User]. If it is a token for Production, use the credentials for a user created on the [http://www.ebay.com/ Production eBay site] (the one you will use to sell items on eBay). Remember that User IDs for Sandbox users begin with "TESTUSER_".<br />Once application access has been granted, eBay will generate a new token, and you will be automatically redirected back to X-Cart. On the '''Get User Token''' screen, you should now be able to see the '''User Token''' field populated with your token value. Below this field you should be able to see information about the current status of your token ('''Token Status''') and token expiration date ('''Token Expiration'''):<br />[[File: |border]]<br />When your token is about to expire, you will be notified and provided with a button to create a new one.
# Now that your token has been generated, click '''Next''' to save your changes and head over to the next step of configuring your eBay Integration: [[#Setting your business policies]].<br /><br />
+
# Now that your token has been generated, click '''Next''' to save your changes and head over to the next step of configuring your eBay Integration: [[#Setting your business policies |Setting your business policies]].<br /><br />
  
 
===Setting your business policies===
 
===Setting your business policies===

Revision as of 18:36, 22 January 2016

X-Cart 4.7.3or above

Overview

The eBay Integration module for X-Cart 4 creates a new sales channel for your business by automatically integrating your existing X-Cart store with eBay. The integration allows you get your products listed on eBay in as little as a few minutes using the product titles, images, descriptions, prices, inventory levels, variants and attributes from your X-Cart store. It also allows you to import your eBay orders back into X-Cart and manage all your sales from the X-Cart Admin area so the order information on eBay is updated in real time. The data can be synchronized between the two systems either manually or automatically according to your preferred schedule. The information of your eBay buyers such as names and addresses is also imported from eBay and becomes available in your X-Cart store's Admin back end as customer profiles. Your store can be connected to any single eBay marketplace site, including the sites for United States, Canada (English or French), UK, Australia, Austria, Belgium (French), France, Germany, Italy, Belgium (Dutch), Netherlands, Spain, Switzerland, Hong Kong, India, Ireland, Malaysia, Philippines, Poland and Singapore. The integration is provided as a service. Subscription plans for merchants of any size are available.

System requirements

To be able to successfully install and use the eBay Integration module, you must have a working copy of X-Cart installed on your server. The eBay Integration module is currently supported by X-Cart versions 4.7.3 and later. Upon request we may be able to provide a module version compatible with earlier X-Cart versions.

Installation

To install the module:

  1. Obtain a distribution package for the eBay Integration module: Download >>
    • X-Cart versions 4.7.3 and later: Download a file named like XeBayIntegration-X.Y.Zgold.tgz;
    • Earlier X-Cart versions: Download a file named like ebay-X.Y.Zgold.tgz.
      (X, Y and Z in the distribution file name are version numbers; they must match the version of your installed X-Cart. Note: If you do not remember the version of your installed X-Cart, you can find it in the Environment info section of the Summary page in X-Cart Admin area.)
  2. Copy the contents of the module archive to the X-Cart root directory on your server or hosting account.
    • If you are using a Windows-based server, or a UNIX-based server without terminal access:
    a) Unpack the module archive to a directory on your system using your favorite compression program (WinZIP, 7-Zip or any other archiver with support for TAR files).
    b) Use an FTP client to upload all the files contained in this directory (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.
    • If you are using a UNIX-based server with terminal access:
    a) Use an FTP client to upload the module archive to the X-Cart root directory on your server or your hosting account.
    b) Unpack the archive using the following command:
    tar -xzvf filename.tgz
    (Replace filename.tgz with the actual name of your module distribution file; for example, XeBayIntegration-4.7.3gold.tgz).
    Important: Make sure you keep the directory structure while unpacking and uploading the module archive, otherwise some necessary files may be overwritten!
  3. In a web browser, run the installation script httр://<YOUR_XCART_DOMAIN>/install-ebay.php replacing <YOUR_XCART_DOMAIN> with the actual domain name of your X-Cart store. This will start the installation wizard.
  4. Follow the installation wizard instructions to install the module.
  5. Once the installation has been completed, you should see the "Installation complete" screen with a link for access to the Admin area of your store with the installed module. Before you proceed, please remove the module archive file if you put it in a web accessible directory; this is needed to protect the module from unauthorized copying.
    Important: At the final step of the installation process, the installation script install-ebay.php is automatically renamed as an additional measure to protect the module installation. Please take note of the filename to which the installation script was renamed. If you decide to re-install or uninstall the module later on, you will need to rename the installation script back to install-ebay.php before launching the installation process in your web browser.

Once the module has been installed, it needs to be configured.

Activating and deactivating the module

If the module eBay Integration is installed, but not active, you can enable (activate) it.

To enable the module:

  1. Go to the Modules section of your store's Admin area (Settings menu -> Modules). This opens the list of your store's installed modules.
  2. Locate the entry for the eBay Integration module and select the Enable check box on the left.
    Xc4 ebay integration module enable.png
    The module will be activated.

It is possible to temporarily disable (deactivate) the installed eBay Integration module. Deactivation stops the module from operation, but it does not remove any settings you made to the module configuration nor clear any data that was generated during the period that the module was in operation. If you wish to completely remove all the data related to using the module, you need to uninstall it.

To disable the module:

  1. Go to the Modules section of your store's Admin area (Settings menu -> Modules).
  2. Locate the entry for the eBay Integration module and unselect the Enable check box on the left.
    Xc4 ebay integration module disable.png
    The module will be disabled.



Configuring the module

To start using eBay Integration, you need to configure the eBay Integration module. This can be done via the eBay Configuration section (Settings > eBay Configuration) and includes four steps:

Let's look at each of the steps more closely.

Obtaining an eBay user token

To configure your eBay Integration, the first thing you should do is create a new user token (also known as "Auth Token) that will allow eBay Integration to connect to your eBay account:

  1. In your store's Admin area, go to eBay Configuration page (Settings > eBay Configuration) and make sure it is open at the Get User Token tab.
    [[File: |border]]
  2. Adjust the following settings:
    • Select eBay Site: Select the eBay site with which you want your products and orders to be synchronized. Note that is is possible to select just one eBay site.
    • Select mode: Specify the mode in which your store will be interacting with eBay: select Test to use the eBay Sandbox or Live to use the production environment.
      [[File: |border]]
  3. Click the Create new token button:
    [[File: |border]]
    This launches the user sign-in and consent process: you will be redirected to the eBay site where you will need to log in to the eBay account for which you need the token and grant the application the permission to access your account on your behalf. Important: If you are creating a Sandbox user token, enter the credentials for a Sandbox User. If it is a token for Production, use the credentials for a user created on the Production eBay site (the one you will use to sell items on eBay). Remember that User IDs for Sandbox users begin with "TESTUSER_".
    Once application access has been granted, eBay will generate a new token, and you will be automatically redirected back to X-Cart. On the Get User Token screen, you should now be able to see the User Token field populated with your token value. Below this field you should be able to see information about the current status of your token (Token Status) and token expiration date (Token Expiration):
    [[File: |border]]
    When your token is about to expire, you will be notified and provided with a button to create a new one.
  4. Now that your token has been generated, click Next to save your changes and head over to the next step of configuring your eBay Integration: Setting your business policies.

Setting your business policies

Once you have created an eBay user token to connect your X-Cart store to your eBay seller account, you can set business policies for your eBay listings. Business policies typically include information on how buyers can pay you; the shipping services you offer, and shipping costs; whether you accept returns, any return conditions, etc. All eBay listings must include this information. To provide information on your business policies for the listings that will be created from the items you sell via your X-Cart store, follow the steps below:

  1. If you haven't yet done so, configure your business policies in your eBay account (More information is available here).
  2. In your store's Admin area, go to the Business policies section of the eBay Configuration page (Settings > eBay Configuration):
    • After creating your eBay token in the Get User Token section, click Next:
      [[File: |border]]
      OR:
    • Simply click the Business policies tab:
      [[File: |border]]
  3. Use the drop-down policy selectors to set the business policies you would like to use for your eBay listings:
    • Return Policy;
    • Payment Policy;
    • Shipping Policy.
      The names of business policies displayed to you on this page are pulled from your eBay account to which you have linked your application at the previous step. If you do not see the policy you require in any of the selectors, it may be due to the fact that the policy was added after the information on the policies had been pulled into X-Cart. To resolve the problem, click the Refresh Business Policies button - the list of policies will be updated.
  4. Use the PayPal email address field to enter your valid PayPal email address. eBay will use this address to identify the correct PayPal account when the buyer pays you via PayPal.
  5. Click Next to save your changes and head over to the next step of configuring your eBay Integration: Choosing your default eBay categories.

Choosing your default eBay categories

Every product you export to eBay has to be placed in at least one of eBay categories. When using eBay Integration, the eBay categories to which your products will be exported need to be set before the export actually takes place. The Categories section of the eBay Configuration page in X-Cart allows you to set the default eBay categories for your listings: one main and one additional category. The main category is required, the additional one is optional. The categories you specify here will be your store's default eBay categories - the ones that will be used for any products for which eBay categories are not set at the product or category level. To set your store's default eBay categories:

  1. Go to the Categories section of the eBay Configuration page in your store's Admin area (Settings > eBay Configuration):
    • After setting your eBay business policies in the Business Policies section, click Next:
      [[File: |border]]
      OR:
    • Simply click the Categories tab:
      [[File: |border]]
  2. Set the default main category for your products:
    Use the Main eBay Category selector to select the eBay category that best describes the products you are going to sell on eBay. If not all your products are going to be in the same category, just select the category you intend to use for the majority of your eBay listings; for the products that do not fit well into the eBay category selected here, you will be able to choose an eBay category at the product or category level.
    Note that category selection is likely to be a multi-step process: at first, the selector will show only top level eBay categories; once you select one of them, another selector will be displayed right below the first one so you can continue to select a nested category. You must continue selecting categories until you reach the lowest level of the eBay category hierarchy where you will be able to select the category that provides the most precise description of your products.
    [[File: |border]]
  3. (Optional step) In a similar way, use the Additional eBay Category selector to set your default additional category for your products.
    [[File: |border]]
  4. Once you are happy with your default category settings, click Next to save your changes and head over to the next step of configuring your eBay Integration: Configuring the General settings for the eBay Integration module.

Configuring the General settings for the eBay Integration module

The final step in configuring the eBay Integration module is to adjust the module's General settings as you require. To do so:

  1. Go to the General Settings section of the eBay Configuration page in your store's Admin area (Settings > eBay Configuration):
    • After setting the default eBay categories for your products in the 'Categories section, click Next:
      [[File: |border]]
      OR:
    • Simply click the General Settings tab:
      [[File: |border]]
  2. Adjust the settings in the Product options section:
    [[File: |border]]
    • Listing duration: Select a duration for your store's eBay listings. Ebay help on listing duration is available here.
    • Product condition: Select the condition of the products you are going to export to eBay. Click the Condition help link for help on item condition for your category.
    • Product price modifier: If necessary, the price of items sold via eBay can be made higher or lower than the price of these items in your X-Cart store. The price difference can be implemented by setting a product price modifier.
      For example, to add a $1 per item processing fee for eBay orders, you should set the price modifier as "[1.00] + [ $ ]":
      [[File: |border]]
      This way all your items sold on eBay will be $1 more expensive than the items in your X-Cart store.
      To reduce the price of items sold on eBay by 10% of their price in your X-Cart store, you should set the price modifier as "[-10.00] + [ % ]":
      [[File: |border]]
      (Note the minus sign before "10.00"; it shows that the price of items on eBay will be lower than the original item price in the X-Cart store).
      The price modifier defined in the eBay Integration General Settings applies to your entire X-Cart store (i.e. all the products that will be exported to eBay). If you need a price modifier only for some of the products, you should set the modifier at the level of specific products or categories.
    • Exchange rate: If the type of currency you use in your X-Cart store is different from the currency that will be used for your eBay listings (for example, if the prices at your X-Cart store are in Australian dollars, and the prices on eBay need to be specified in US dollars), use this field to set the exchange rate. The exchange rate will be used both when exporting your products from your X-Cart store to eBay and when importing orders from eBay back to your X-Cart store.
    • Export product description: In X-Cart, a product can have two types of description: a short description and a detailed description. EBay listings can have just one description. So, before you export any products to eBay, you need to specify which of the two product descriptions should be used for eBay. Here you set the type of product description that should be exported to eBay by default. If any of your products need to use a different type of description on eBay, you can adjust this setting individually for these products in their eBay product options. HTML description
    • Max amount of item on eBay: If you stock large quantities of items in your store, or the stock quantities are unlimited, you are probably used to setting the Quantity in stock (items) field of your product details in X-Cart to large numbers (like 1000 items in stock). It may not be a good idea to show these numbers on eBay. The setting "Max amount of item on eBay" allows you to set the maximum number of items in stock that should be shown as available for sale to your eBay buyers. For example, if you set this value to "3", for any products from your X-Cart store of which you have 3 or more left, eBay will show the available quantity as "3 available"; for products with an inventory level of less than 3 items, eBay will show the actual quantity available.
  3. Adjust the settings in the System options section:
    [[File: |border]]
    • Show eBay warning messages in admin area: When exporting products to eBay or importing orders from eBay, you may get eBay warnings. Unlike errors, warnings are conditions that are not fatal to the module operation, but they alert you to some minor problems that you may want to fix. Any warnings your store gets from eBay are written to log files in your X-Cart store. If, in addition to that, you also wish to have eBay warning messages displayed in your store's Admin area, enable this option.
    • Save eBay API requests/responses in the log file: If you need eBay API requests/responses to be written to log file (for example, if you need this information for debugging purposes), enable this option.
  4. Click Save to save your changes.

That is all. Now that you are done adjusting your eBay Integration configuration settings, you may want to set eBay options for your products and/or categories.