Consider a statement of the form: $A$ implies $B$, where $A$ and $B$ are true, but $B$ is not implied by $A$.
Example: As $3$ is odd, $3$ is prime.
In this case, it is true that $3$ is odd, and that $3$ is prime, but the implication is false. If $9$ had been used instead of $3$, the first statement would be true, but the second wouldn't, in which case it is clear that the implication is false.
Is there a name for this sort of logical fallacy?
I think that would just be a non sequitur ("it does not follow"), which doubles as a catch-all term for all invalid arguments.
From Wiki:
In your case your premise and conclusion happen to be true, but B does not follow since the implication is broken.