The past tense of pay a visit to is paid a visit to.
The third-person singular simple present indicative form of pay a visit to is pays a visit to.
The present participle of pay a visit to is paying a visit to.
The past participle of pay a visit to is paid a visit to.