Yes, that was often done over here, too. Even in cash crazy Germany it’s going the way of the dodo. The only places i see it are low-margin enterprises, like small local zoos.
Everyone else either takes only cash or treats both cash and cards the same.