Not if you created another crime while doing it...
There is a serious amount of ignorance and misinformation of the law about this coming from the right..
Trump knowingly paid a woman 11 days before an election to keep quite about an affair they had from his business.
The main problem here itm is an illegal campaign donation and highly illegal... This is the exact opposite of transparency, this was information kept from the voters illegally...
Trump could claim that it wouldn't changed the result but the result was very tight and this is pretty bad.
Trump is not being charged with giving the money. What he is charged with is paying through his business an illegal campaign donation and writiing it off as an expenses... There is two crimes that takes the charge from a misdemeanour to a felony.
Donald Trump isn't charged with paying hush money to silence a porn star, but in hiding the payment through allegedly falsifying business records.
eu.usatoday.com
Legally this is sound.
Trump's defence will be to say he knew nothing about it and it was others in the business... i.e. Micheal Cohen did it without instruction and reimbursement. This will be a hard sell considering he signed off on the payments to Cohen.
He will also try and say it wasn't a campaign donation. Again this doesn't sound plausible as the payment is 11 days before the election. Seriously if Trump had a his own team do a background check on him they would have found this and buried it like they did with the Playboy... This is one of Trump problems, he is just shit at getting the right people and surrounds himself with crap people..