Use continuity/<=200ohm test on your DMM to ensure you solder the wires correctly. I used a small metal file on my female jack so the solder would bind better.
It helps to use 400° and be real quick about it. I’ve often done this on TRRS audio jacks, and if you delay too long the plastic insulating the different connections will melt. This happened on my first try. Best to test it on some of these TRRS jacks before you do it on your Pi.
GND will sink more heat before you can solder it, so use leaded solder for that connection. In fact, it’s best to use leaded fluxcore for all these connections, not the unleaded hippie stuff.
Use as big a tip as is practical, and to ensure you haven’t made a cold-soldered joint, give it a wee pull when you’re done.
I use a tip like this (for a TS100): 