Trump's defense that his pay-off to Stormy was to hide his affair from wife and public not election
is bullshit. He didn't mind the expose of his "grab them by the pussy" statement which was already out in the public sphere. Plus, he had previously been accused of sexual abuse so most already knew he was a scoundrel. He just didn't want Stormy to be talking about this affair close to the election.
Hush money arrangements are not illegal in NY so that defense is not needed.