I understand this is a waste of time, but the payment benefits Trump, with or without the election.
The focus of campaign finance law, as I understand it, is to prevent candidates from spending campaign donations on things that may benefit the candidate, even without the campaign. You can't buy a new suit for a debate, and call it a campaign expense, even if the only time you ever wear it is for the debate.