Generally rotar machines were used a lot before WWII by banks and such. The Enigma and Typex were much more difficult to crack than commercial products because of the plugboard, while commercial machines only had spinning rotors. I think the Typex didn't have the weakness that letter x encrypts to x either. The Germans basically concluded that it was even tougher than the unbreakable Enigma so gave up.
Germany also had little success because, unlike in Bletchley Park, they didn't exactly tolerate eccentric academic types. The codebreaking efforts of the Germans were also so incredibly fragmented across different departments that once two different departments had a bust up on the street.
Wikipedia has some good references: https://en.wikipedia.org/wiki/German_code_breaking_in_World_...