This is the first year I had an issue....I came home one hot day in July and the house was warm...the outside unit wasn't working....I tried to get the installer to come to service it but he had retired....so I went on Youtube....bought a 'capacitor' and a 'contactor'...installed both....and everything was fine again...
You probably only needed just the capacitor OR the contactor, not both.