When validating a street address, the State code is reading the the first matching value from the StateProvince table without regard for what country was specified.
This causes the validation to return an incorrect value for the state in many cases.
Example: Florida, abbreviation FL.
The validation changes Florida to Flevoland, a province in the Netherlands.
Real world example:
For the correct tax calculation we need the most accurate address, so we clarified the address you entered (1 SE 3rd Ave., Suite 1410, Miami, Florida, United States of America, 33131) through the validation system. Do you confirm the use of this updated address (1 Se 3rd Ave Ste 1410, Miami, Flevoland, United States of America, 33131-1726)?
Example: California, abbreviation CA.
The validation changes California to Catamarca, a province in Argentina.
We have tried disabling use of the countries for addresses, but that had no effect.
nopCommerce version: 4.70
Source: https://github.com/nopSolutions/avalara-plugin-for-nopcommerce/issues/21