Kentico 11 Website
I have added a class CustomCustomerTaxClassService.cs for customer tax exempt in App_Code folder.
[assembly: RegisterImplementation(typeof(ICustomerTaxClassService), typeof(CustomCustomerTaxClassService))]
public class CustomCustomerTaxClassService : ICustomerTaxClassService
public CustomerTaxClass GetTaxClass(CustomerInfo customer)
if ((customer != null) && (customer.CustomerHasCompanyInfo))
and i am planning to change the code of GetTaxClass method as per my requirement but this method is never called when i am going through checkout flow.
At the same place, i have added CustomTaxCalculationService inherited by ITaxCalculationService to calculate tax with custom logic and it's working..
Is there something i am missing...
It looks like you're missing Factory that serves Tax Service. See more details here.
Please, sign in to be able to submit a new answer.