Which to choose: a fixed price or time and materials?
A fixed price suits a task that is well described and unlikely to change, but any change turns into a negotiation. Time and materials is convenient when the scope is refined as the work goes on, but it requires transparent tracking. A sensible compromise is working in stages: each part with a clear result is estimated and accepted separately, and priorities can be changed between parts.
More in the guide to software development outsourcing.