Maybe I just got lucky over the years but the only payment issues I had were with agencies and not with the client directly.
I do choose clients carefully though and several times back to the same client as required, often the first contract was through an agency then direct after that which suited both parties.
I've posted about this before but back in the day when there were more contracts than contractors agents were more interested in keeping the people they had and we were really looked after. Different days now which is sad, a real lack of personal contact, interest, an agent really looking out for your needs which suited both of us. It seems nowadays it's just a CV sorting exercise and that done badly.