NopCommerce 3.6 Tax By Country & State & Zip always gives zero tax
NopCommerce 3.6 Tax By Country and State and Zip plugin always returns zero tax for one of my stores. I got the same results locally and remotely, but the database was not copied from the local machine. I followed the steps locally and then remotely again to help eliminate specific environment as a factor.
What could be wrong?
Here are some screenshots for demonstration.
The tax provider is marked as primary:
The client test address contains an example of a zip code.
Set tax based on shipping address, etc.
Tax rates were imported via SSMS.
Added general tax category.
The specific tax rate for the test mailing address has been determined. I also tried to test with a specific StoreId of 1, although there is only 1 store. Also the field is not NULL, zero acts as a wildcard.
All products are subject to tax and are classified as general tax.
source to share
As much as I wanted to avoid thinking it was true, this issue was created by a third party plugin. The "One Page Checkout" vendor alternator removed the cart tax after being removed from the "Checkout" page and prevented the user from receiving cart tax calculations later. Removing the plugin fixed the problem and I contacted the vendor for support.
Thanks to everyone who took the time to look at this!
EDIT. To be clearer, what's going on is that the Real One Page Checkout plugin creates NULL fields in the Address table and binds them to the client. Therefore, any subsequent orders placed in the cart by this customer will never be taxed again. I haven't researched what else might happen as a result.
I downloaded the latest copy of the plugin and tested the same results. All orders placed without the plugin installed work fine, and the installed plugin contains empty entries added to the address table and associated with the Client.
source to share
This is how the One Checkout plugin for nopCommerce works :
When customers open the checkout page, they start with blank addresses (which is why you initially see two blank addresses in the database - one for the billing address and the other for the shipping address), and that's why your taxes are 0 since none have been selected yet country. After the customer selects a country, the address in the database will be updated with the country ID and all tax calculations will be based on the newly selected country. The order amount will also be updated and customers will see the new taxes. If the customer changes the country again, then the order total will be updated again to reflect the new taxes based on the new country.
After looking at the screenshots provided, your customer already has an address in their address book and you expect them to use the same address for any new orders. In this case, you can simply check these settings while administering the One Check Checkout plugin - Pre-select the last billing address of the customer and / or the Pre-delivery address of the last customer . This way, when a customer starts checking out, they don't start with an empty address, but with the address they used to place their last order. Since the pre-selected address must already have the selected country, your taxes will be automatically displayed for that country from the very beginning of the checkout.
source to share