Safest way to ensure that everything is fair is to get it ALL in writing , signed by both parties. Specify each item that needs repair. Also, BUY the paint YOURSELF. That way, there is no incentive to water it down, and you KNOW that you are getting the grade/quality you actually purchased. Don't be penny wise and pound foolish; if you are paying to hire a painter, buy the best paint that you can afford, to ensure maximum life of this home improvement.
I was a painting contractor for many years and never asked for a deposit upfront. A good contractor should have great credit with his suppliers and an even better contract if the deal should go south before the job is done. Get to know your customer and explain how each paint covers so they understand fully before you have to apply 3 or 4 coats. If you didn't bid your job right and the client has already signed the contract then that is on you not the client. Yes I haven had to eat the difference but the client was happy and a return customer for years so I made up for it.
Thorough preparation is essential to ensure a good finish. Contractors might have to fill cracks or holes and remove old paint if it is badly worn, peeling or flaking. They remove all paint and apply a suitable primer to the bare surface. If the existing paint is in reasonable condition, they clean it and rub it with abrasive material to provide a key for the new paint. On new surfaces, such as bare wood or fresh plaster, they apply a suitable seal, followed by a primer coat.