What if price were a function of buyer's income?
This is just perfect price discrimination. Happens sometimes with niche drugs (where drug makers can know the ability of people to pay). In this scenario, consumer surplus is completely captured by suppliers.