I cannot really see the problem, just wire the first coil to 1 & 2 and the other to 3 & 4, then wire all yours the same.
If the motor is running the wrong way the software will be able to reverse the direction, or (as I do ) change the wiring at the motor end.(leads connect via a choc block in a case attached to the motor).

Peter