1. nopCommerce version: 4.3
2. Expected behavior: Valid Total Tax calculation including Payment additional fee when Payment fee is taxable
3. Actual behavior: Payment fee tax added to Total Tax multiple times
4. Steps to reproduce the problem: Configuration > Settings > Tax settings > Payment
Payment method additional fee is taxable, Payment method additional fee tax category > something, not 0
The solution: In FixedOrByCountryStateZipTaxProvider.cs file > GetTaxTotal class the //payment method additional fee section should be INSIDE the following if statement brackets:
if (!(_httpContextAccessor.HttpContext.Items.TryGetValue("nop.TaxTotal", out var result) && result is TaxTotalResult taxTotalResult))
{ }
Currently it is after the closing bracket.