Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Replacement for OrderContext.GetTaxes within ITaxCalculator?

$
0
0

Hi,

After upgrade I am getting this warning:

'OrderContext.GetTaxes(Guid, string, string, IOrderAddress)' is obsolete: 'This method is no longer used. Use ITaxCalculator instead. Will remain at least until December 2019.'


ITaxCalculator exposes only two methods that aren't tagged as obsolete, GetSalesTax and GetShippingTax. None of them is doing what OrderContext.Current.GetTaxes did.

Anyone has idea how to use ITaxCalculator instead of old GetTaxes? Thanx


Viewing all articles
Browse latest Browse all 9076

Trending Articles