0

I am using Magento 2.3.1.

I want to apply tax/vat based on Country IP address, I am able to detect the IP address and able to find the country details, now which tax class and function should I override to apply tax based on browsing country if not logged in. If customer logged in, we can use default address.

Please let me know if require more information to explain this issue.

My di.xml

<preference for="Magento\Tax\Model\Calculation" type="YourVendor\Module\Model\Calculation" />
<preference for="Magento\Tax\Model\ResourceModel\Calculation" type="Webepower\EuVat\Model\ResourceModel\Calculation" />

Any idea and help would be appreciated. Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.