Opening a purse but only getting flies flying out usually means that the purse is empty in cartoons. Here the conversation suggested that frogs uses flies as currencies and thus subverts the convention.
Another layer on top is that two flies are required, but the customer only got one, so they’re still broke, just like the conventional representation of being broke.