on ‎2018 Jul 16 9:16 PM
Hello,
Could any one guide me how to integrate the Avalara tax service? I am using hybris version 6.7
I went thru this document and need some clarification..
https://help.hybris.com/6.2.0/hcd/8b778d6686691014a717c375f3d3d89d.html
(1) Do I need to setup the CIS? I am seeing cisClient, cisTax etc. part of ext-addon.
(2) Can't I directly the call the Avalara web service in Hybris code instead of going thru CIS?
(3) I am seeing cisClient par of ext-addons. What configuration required to call the avalara service?
(4) Where exactly I need to call the service in Hybris code?
Thanks in advance.
Request clarification before answering.
Hello,
If I implement a new class using CalculateExternalTaxesStrategy then it is invoking only during checkout page. But the taxes class need to call during cart, checkout and order placement.
Could any guide me any link that has steps to configure avalara tax service or if you provide high level steps that would help me lot.
Basically need some guidance to call the avalara tax service in hybris code.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response Murali. Let me go thru it..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your quick response Murali.
(1) What is the advantage of CIS over calling the tax integration service directly by creating a new class that implements the interface CalculateExternalTaxesStrategy ?
(2) Is implementing the new class and configuring in the beans.xml is enough to call the tax service? or need to write more logic to apply the taxes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am NOT sure using the CIS server , you can go through the wiki for that.
For Tax integration, you have to update the each entry in cart level with tax response and I believe there will be another tax called 'freight' charges that u have to update on cart level. I think you can go through your 3rd party tax integration doc and do accordingly.
HI, Using the CIS or going through the CIS is optional unless if you have separate CIS server instance using for many integrations with your hybris.
The basic answer for your TAX integration is, you have to write new class which implement CalculateExternalTaxesStrategy interface, the example is like 'MockCalculateExternalTaxesStrategy' , 'DefaultCalculateExternalTaxesStrategy' .
<bean id="defaultCalculateExternalTaxesStrategy"
class="de.hybris.platform.commerceservices.externaltax.impl.DefaultCalculateExternalTaxesStrategy"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.