Unfortunately the old toilet was bodged so I don’t have a point of reference. The original pipe had a 90 degree turn and then presumably a short piece of pipe into the socket. The old toilet then had a straight connector into that, except the pipe is about 40 or 50mm below the spigot, so the connector was at a funny angle and held on with duct tape.
My thought was to put a new bend on the soil stack and then use a straight flexi connector? I’m not sure how else to get the drop in height from the spigot to the soil stack as presumably the connector needs to be on straight to the spigot?