stops purchase if not enough money