Sounds better to decide % upfront. So you both know, who owns what form the start. About sales, just set a commission per sale. Note that he's bringing into the startup the know-how about the problem you're solving. I bet you'll be consulting him as the "expert" in the matter. This is a valuable part of the equation.