^ that works - but you do need a powerful soldering iron, 40w+ , to carry it off without damaging things.
Such things are cheap enough it's worth buying one, to get it right first time - given the cost of plugs etc.
(the easiest way to damage anything by soldering in electronics, - is to not have enough power at the 'bit'.
A 15-20w iron held in contact, in vain, will be melting /shrink-back insulation, long-before the job gets done.
NB same is even true for tiny surface-mount parts - big heat, instant fix, no collateral damage!)