On January 12, 2018, The Wall Street Journal reported that in October 2016, just before the 2016 United States presidential election, Michael Cohen, executive vice president at The Trump Organization and special counsel to then-presidential candidate Donald Trump, arranged a payment of US$130,000 to Stormy Daniels.
Therefore he wasn't president at the time.