SimpleTaxModule is never called
Posted: Tue Feb 18, 2014 5:17 am
Hi,
I'am trying to activate the SimpleTaxModule as described in the getting started guide. I have changed my application-Context.xml and added
I changed defaultTaxRate to defaultItemTaxRate because this is the real name of the property in 3.0.8
When ordering a product in the demo site, I never get any tax. Placing a breapoint on TaxActivity.class shows that the method 'execute' is never called.
I have seen in another post that tax modules for external tax systems has changed and uses a TaxProvider class and a Module configuration in the database.
Is the documentation of the tax module no more up-to-date? How should I do to use the SimpleTaxModule which is still present in the source code?
Thx
I'am trying to activate the SimpleTaxModule as described in the getting started guide. I have changed my application-Context.xml and added
Code: Select all
<bean id="blTaxModule" class="org.broadleafcommerce.core.pricing.service.module.SimpleTaxModule">
<!-- Set properties for your specific tax configuration. -->
<property name="itemStateTaxRateMap">
<map>
<entry key="DE" value=".99" />
</map>
</property>
<property name="defaultItemTaxRate" value=".21" />
</bean>
I changed defaultTaxRate to defaultItemTaxRate because this is the real name of the property in 3.0.8
When ordering a product in the demo site, I never get any tax. Placing a breapoint on TaxActivity.class shows that the method 'execute' is never called.
I have seen in another post that tax modules for external tax systems has changed and uses a TaxProvider class and a Module configuration in the database.
Is the documentation of the tax module no more up-to-date? How should I do to use the SimpleTaxModule which is still present in the source code?
Thx