The fee for the defender was set by a Football League tribunal at £75,000 up front, and up to £100,000 extra later depending on if Milton Keynes gain promotion, and the number of games O'Hanlon plays.
Mark Devlin said "We remain very disappointed over the way that Sean left the club and the circumstances surrounding it, but we are grateful to the Football League committee for giving us a fair hearing."