There is no difference for the .40/.357 magazines. The 23/32 Glock barrels are drop in and require no modification. You can use a 19 9MM barrel in the 23/32 but not 40/357 barrel in 19 because the ejector could cause an AD when clearing a live round from the weapon.
All small frame Glock magazines are interchangable as long as they are long enough. The 23 will accept the 17/19/31/32/22/23 magazine. The only problem is you must pay attention when changing barrels on Glocks. A .357 SIG round in a .40 barrel will ruin your day. Safety is paramount. The best thing is to purchase another pistol. That being said, I have a G31 barrel for my G22 and a .400 CorBon barrel for my G21.
Happy shooting, be safe.