Your friend doesn't sound like much of a friend. IMHO

However, this is why it is always good policy to make sure that compensation is specified and agreed upon before the work is performed. Even with friends.

Actually, especially with friends since this is the kind of thing that can end friendships.