With VCE you can have a brick set to when you click it, it checks if the player has enough if a certain variable (money) and if they do it removes the money and gives them an item.
I would post the events, but it's been a while since I've played and I would probably get them wrong or something.