I cut down a 5.45 polymer AK74 mag to make it a 20 round mag and just tried glue. It held for a little while, then came apart while I did a loaded storage test. Thankfully it was in a big storage container by itself when it happened.
I then tried polymer "epoxy" from Permatex or one of those...