The clicking noise is the start relay attempting to start the compressor motor. In cases like this the start relay needs to be replaced. The part number is(NNN) NNN-NNNN and the price is $20.55. You can buy it at www.repairclinic.com.
If my answer helps you, please click on the 'accept' button. That's how we experts are paid for our efforts.