I did something stupid

The money at this point, is irrelevant. I'm willing to write it off as a lesson.

Is there a reason you are jumping straight to flushing $3000 down the drain? If someone sent me money to buy something and it fell through then I would have no problem giving them a total or partial refund. Has the seller stated that they are keeping the car and the $3000?