Never, ever pay for more materials than are delivered, or for work actually done. Never.
If paying for materials up front, pay the supplier direct, then those materials are yours.
If you do choose to help a contractor out with a deposit or suchlike, then that amount should be calculated and...