Installation
- Include the Broadleaf TaxCloud Module in your Maven dependencies:
<dependency>
<groupId>com.broadleafcommerce</groupId>
<artifactId>broadleaf-taxcloud</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
- Configure the TaxCloud Module to be used by your eCommerce application. This is done by including its application context in your list of merge files in web.xml. This must be done in the site and admin:
<context-param>
<param-name>patchConfigLocation</param-name>
<param-value>
...
classpath:/applicationContext.xml
classpath:/bl-taxcloud-base-applicationContext.xml
/WEB-INF/applicationContext-admin.xml
...
</param-value>
</context-param>
Insert the module configuration into the
BLC_MODULE_CONFIGURATION
Table. This can be done by running the following script:
classpath:/config/bc/sql/load_taxcloud_module_config.sql
Using the admin, configure a new TaxCloud Module Configuration in the BLC Module Configuration section. You will also need to populate each of the fields with your generated api key and api id which you received from TaxCloud.