Agree to pay is the present tense of agreed to pay.
The third-person singular simple present indicative form of agree to pay is agrees to pay.
The present participle of agree to pay is agreeing to pay.
The past participle of agree to pay is agreed to pay.