The first thing you do when you find that there is no 230 volts going to the condenser is check the compressor for a ground.
First simply test the compressor wires at the contactor and if you think you may have a ground then test the compressor directly.
(Note: To test for a grounded compressor use a volt meter set to ohms and set it to beep when there is continuity. Now place one led onto ground try scratching the lead into the suction line of the compressor. Place the second lead directly onto the compressor terminals after removing the wires. Try all 3 terminals and if even 1 terminal has continuity to ground than it’s a bad or grounded compressor.)