Samw happened to me on Thursday. I was (figuratively) shocked when I bought the capacitor, though. I bought the same one for another unit back in 2021 and it was $11. This one was $32. Same brand. Same supplier. It felt criminal but it was better than hiring it out and being put on a two-week waiting list!
I’ve replaced a couple dozen. When I started out, all I had to do was buy a cheap (but reliable) multimeter and spend a half hour or so watching YouTube vids on how to test those kinds of capacitors.
They can be deadly dangerous if you don’t take precautions. It takes very little skill to replace, but the power to the compressor needs to be cut and the Fan and Herm terminals do need to be grounded/discharged to the common post before handling.
It’s still a very basic repair, though, and even in the +100° temps we’ve had here, it was worth the effort and only takes about ten minutes to remove, five to test, and five to replace and close it all up.