Child custody order is always for the best interest of the child. If you and your wife both have legal rights to the child as the child’s legal parents, then the factors surrounding the conception (infidelity) doesn’t play a major role in the outcome of the custody order. What the court would consider is what is best for the child in this matter. For spousal support, it is upon the court’s discretion whether it will be granted or not, and the amount. Again, your infidelity may not play a role here, but the court will consider the standard of living you and your wife had when you were together, and either’s capacity to support and be supported, among other statutory considerations.

It would be best to personally consult with an expert divorce lawyer to find out how you could obtain the best outcome from the divorce process.