A monopoly is not required. It works fine as long as the price differential is low enough that the user decides it is not worth the effort to investigate alternatives.
Variable pricing is applied all the time in all sorts of businesses. It even happens when there is a sticker price.