Paying someone else’s zakat through a zakat charity
You can pay a relative’s zakat for them, with their knowledge.
Paying someone else’s zakat
Zakat is owed by the person whose wealth it is, so paying it for them needs their knowledge and agreement, so the intention is there (Sahih al-Bukhari 1).