I am using
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.
<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.