Skip to main content
Avalara Help Center

Install and Configure Avalara Connector for PrestaShop

This article applies to:Connector for PrestaShop

The connector for this integration is in "sustaining" mode. This means there are no new versions planned, and current versions won't be enhanced. Any issues identified will only be fixed on an as-needed basis.

After you activate AvaTax and set up your company profile, install and configure the connector for your business application. During configuration, customize your setup to fit your unique business needs for things like:

  • Tax calculation settings for various tax types
  • Exemption settings if you have exempt customers
  • Product taxability settings

Alter these settings when your business needs change.

Prior to installing Connector for PrestaShop, ensure the following: 

  • PrestaShop language is English
  • Installed PHP version is 5.6 or 7.0 
  • SOAP (PHP extensions) is enabled in the php.ini file
  • If your previous version of Connector for PrestaShop is from NuRelm, upgrade to this version
  • This version of Connector for PrestaShop is compatible with PrestaShop release 1.6.x and 1.7.x. If your PrestaShop version is below 1.6.x, upgrade it.
  • If you're running PrestaShop 4.00 or later, make sure:
    • In the php.ini file for the PrestaShop server, you've updated the default value for CURLOPT_CAINFO to curl.cainfo = C:\xampp\php\extras\ssl\cacert.pem
    • The latest SSL certificate (cacert.pem) is located in C:\xampp\php\extras\ssl

 More information is available in PrestaShop documentation.

Download Connector for PrestaShop

If you didn't already, download your integration software to connect your business application to AvaTax. 

  1. In AvaTax, go to Settings > Integrations > Manage.
  2. Depending on your business application, do one of the following:
    • Select See connector versions, select the most recent version, and then select Download.
    • If you don't see a Download button, select Help and Support for detailed instructions. You may need to log in to your business application website before you see help documentation.
  3. If you downloaded a file, in your Downloads folder, right-click the .zip file and extract the installation folder or file (.exe or .pdf or .msi). 

Install Connector for PrestaShop

To install the Connector for PrestaShop package:

  1. Open the installation folder you downloaded from AvaTax.
  2. Copy the Avalaratax folder in \\Root directory\<Prestashop folder>\Modules\.
  3. Delete the class_index.php in  \\Root directory\<Prestashop folder>\<cache folder>.  
  4. Log in to PrestaShop, and then go to Modules and Services > Modules > Administration.
  5. On the List of Modules page, go to Modules List, type AvaTax in the Keywords field, and then click Search.
  6. Choose AvaTax for Prestashop, and then:
    • If your previous Connector for PrestaShop is from NuRelm, click Reset.
    • If you're installing for the first time or your previous Connector for PrestaShop is from Avalara, click Install, and then click Proceed with the installation. A message displays when the module is finished being installed.

After you install Connector for PrestaShop, make sure that PrestaShop users have full access to AvaTax files in the Avalaratax folder. ​​​​

Configure Connector for PrestaShop

To configure your Connector for PrestaShop company settings:

  1. Log in to PrestaShop, go to AvaTax, and then click Configuration​​​​​​.
  2. On the Connection page:
    1. Provide your AvaTax information, and then click Test Connection:
      Field Action
      • Account Number
      • License Key
      View your account number in AvaTax. Select Settings > All AvaTax settings. The account number is listed at the top of the page as your Account ID. If you don't know your license key, get a new one.
      AvaTax Environment Select the type of account you're connecting to in AvaTax.
    2. Select the correct company from the AvaTax Company list, and then click Save.
  3. Complete or modify fields on the Options page, and then click Save
    Field Action
    Optional: Validate Customer Address Select to enable customer address validationHoverTT.png using Connector for PrestaShop. The status of this option doesn't affect address validation for default origin addresses.
    Enable tax calculation If you choose to disable tax calculation, your accounting software no longer uses AvaTax to calculate tax on transactions.
    Optional: Return address validation results in upper case Select to save all address validation results in uppercase format.
    Optional: Enable logging This function is primarily used for troubleshooting issues. If you choose to enable logging, all success, warning, and error messages are included in the log. Only enable logging if you've been instructed to do so by Avalara Support because it can significantly slow down your service.
    Default FR Code The default shipping code when you enter a shipping charge on a sales document.
    Optional: Use Order Date for Merchandise Returns PrestaShop creates a merchandise return invoice with the order date. If this is disabled, PrestaShop creates a merchandise return invoice with the system date. 
    Disable document commit If enabled, you can calculate sales tax using AvaTax, but you can't commit sales invoices to AvaTax.
    DEFAULT ORIGIN ADDRESS Enter the default origin address for the company. This address is used during sales tax calculation for transactions without a valid address. 
    DEFAULT AVATAX ACTIONS This section lists AvaTax actions triggered based on the status of an order.

The Avalara Help Links page displays help links for AvaTax, Avalara Support, and Avalara Help Center.

  • Was this article helpful?