It is currently infinite but it's game over once all your allies die and you see the score you've achieved. Also the prices are purely random and there is no real benefot to but more expensive ones the idea is just to disencourage buying out the whole shop at once but instead spreading it over multiple turns.