there are several escrow services out there which are not meant especially for web projects but you could use them.
it depends on the country of buyer / seller, the amount we are talking about and so on... there are several ways of buying something securely.