Is the product the developed site or does he sell a material product that he needs a website to sell it. If you are building a web app, that will be the product 5% is a low offer for basically doing all the work to create the business. If he has an existing business, with an existing product that he already has sales for, and he just needs a website to sell online, then you will have to do the math, it may be great and it may be a horrible offer.
I turned down an offer once to receive 1% or profit on every transaction that came in through some web-services I build in lieu of cash up front. It was the worse mistake I ever made. That service did over 50 mill in profit the first year alone. I should have done the math and took the risk. So it all depends.