Yeah, I saw this as a problem frequently and was bad on my part with bad design.
I have changed the way that items are bought as they are bought with pulling lever which is more reactive and will give some user feedback telling you if you have enough money or if the item was bought.