Hello,
I'm trying to inject some custom tax calculation by way of the CalcTaxInterface and running into a type initializer exception.
It is setup like so:
namespace: NEvoWeb.Modules.NB_Store.TaxProvider
class: OhioSalesTaxProvider
public overrides function: getCartTotals(I do my custom code here)
I setup my "calctax.provider" in the settings exactly like this:
OhioSalesTaxProvider,NEvoWeb.Modules.NB_Store.TaxProvider.OhioSalesTaxProvider.getCartTotals
I also tried just, getCartTotals without the namespace but I get the same result.
It seems that the dll is found however the function cannot be initialized.
Is there something else I need to do initialize and use this code? If not, based on the info I provided, how exactly should I call this function?
Thanks in advance for any insight or clues.
I'm trying to inject some custom tax calculation by way of the CalcTaxInterface and running into a type initializer exception.
It is setup like so:
namespace: NEvoWeb.Modules.NB_Store.TaxProvider
class: OhioSalesTaxProvider
public overrides function: getCartTotals(I do my custom code here)
I setup my "calctax.provider" in the settings exactly like this:
OhioSalesTaxProvider,NEvoWeb.Modules.NB_Store.TaxProvider.OhioSalesTaxProvider.getCartTotals
I also tried just, getCartTotals without the namespace but I get the same result.
It seems that the dll is found however the function cannot be initialized.
Is there something else I need to do initialize and use this code? If not, based on the info I provided, how exactly should I call this function?
Thanks in advance for any insight or clues.