According to Google AI, Massachusetts, Maine and Connecticut are the only remaining states that maintain a ban on charging a surcharge fee for paying with a credit card instead of check or cash.
"Under Massachusetts General Laws Chapter 140D, Section 28A, adding a percentage-based fee at checkout to cover the processing costs is illegal. While the Massachusetts state senate has considered legislation to repeal this law and align with the rest of the country, Massachusetts businesses must continue to follow the existing pricing guidelines, to remain legally compliant."
Years ago, back in the 1980's or early 90's I remember getting into a big argument at a Boston hardware store over being charged a 3% credit card fee because the total was under ten dollars, being thrown out of the store, not buying anything, and leaving it all at the check-out counter, maybe two or three small items ..... ha-ha-ha ......

..... oh well!