Norway passed a law quite recently forbidding permanent card only shops, cafes, etc. As far as I can tell this was done for two reasons, firstly card only is discriminatory and secondly to improve the countries resilience in the face of cyber attacks.
You can only be electronic payments only if you are a temporary sales location such as a flea market, ice cream van, etc.