Quantcast
Viewing all articles
Browse latest Browse all 4081

New Post: Custom CalcTaxInterface provider Initialization throws exception

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.

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>