It's still alive and well in Washington State. It's sporadically used, mostly by gas stations and small stores when you use a credit card they will add a 50 cent fee or charge an extra dime a gallon for gas, things like that.
It is also convenient for the vendor. Checks are a major hassle, check fraud apparently still a thing and cash comes with additional security implications. Don't let the vendor tell you that CC fees reduce their margin!
but this is what the EU seems to want. based on EU regulations surcharges at least for credit cards are illegal. the price for the consumer must be the same. for some reason it does not cover paypal though.