buy way out
buy (one's) way out (of something)
To pay money to escape or avoid something unpleasant. With enough money, you can buy your way out of any problem.
buy one's way out (of something)
to get out of trouble by bribing or influencing someone to ignore what one has done wrong. You can't buy your way out of this mess, buster! You made this mess and you can't buy your way out!