Just like almost everybody else, I've had problems with the pannier latches. Here is the solution I came up with - and thus far, I am very happy.
Full disclosure - I'm about as mechanically minded as can be - - NOT! I really am a klutz. While the idea was mine, the work was done by Big Phil...