Companies did do that - but I belive now it’s not allowed to charge less for cash.
Yes this is exactly what GP is talking about (he just phrased it the other way round).