That is definitely not true in Germany. There were many places that only accepted cash while I lived there.
I just spent 2 weeks in Spain and there were many places I tried to eat that were cash ø ly.
In Chinatown in London, as well, many places are cash only.
"outside the US" is a big place, be careful to be more specific.