A deposit is an offer to purchase. The contract he obviously signed stated that the deal was subject to financing. Financing was found so at that point BOTH parties have met the terms of the contract to purchase the vehicle. The fact that the OP doesn't know the ins and outs of purchasing a car or any item like this really doesn't matter. The contract spells out the terms and conditions of the transaction. If people would finally just fucking read what they are signing and ask questions if they don't understand what they are reading a lot of these situations would never happen. Remember, both/all parties must agree to the contract and fulfill the terms of said before the contract is enforceable. In this case the deposit was put down and the contract was signed agreeing to the terms and the dealer found him financing. Case closed! If you find yourself in the position of having to sign something like this and don't like the terms you are free to add your own terms and limitations to the contract. Write it in yourself. If the other party doesn't like it you are both free to walk away. You are under NO obligation to sign a contract that you don't like. Now, that being said, it would be really nice if the OP did get his money back but seeing the time frame (2 weeks +) involved I can't say as I really blame the dealer for not giving the money back. If he had come back the next day this likely wouldn't have happened in the first place. They are in business to sell cars and they can't sell them if they are holding on to them waiting for someone who told them they were going to buy it decides weeks later not to.
'08.5 Mazda 3
'90 Laser RS-T
'07 Yamaha R6