As far as I know, this only applies to Steam keys: developers are allowed to generate Steam keys for free to sell on their website (Valve does not get 30% of these sales either) with the restriction being they cannot be cheaper than the price on Steam
I don't think there's ever actually been any proof that Valve disallows selling games for cheaper elsewhere as long as you're not selling those freely generated Steam keys