Meaning:
Lit: “to pay like for grain”. Which means something is simply very expensive and you think it should not be. Also, most people use this expression to point that the party selling probably overcharges and therefore earns lots of money while not acting in an ethical way.