"Pay" and "paid" have the same vowel (/eɪ/), but "say" and "said" don't (/eɪ/ and /e/). The accepted pronunciation today is set on the basis of whichever regional pronunciation happened to be the most influential when the word entered the language - with sometimes illogical results. You just have to learn them, I'm afraid.
b
PS ...but the most common form is regular:
bay/bayed
lay/laid
may/maid/made
nay/neighed (what a donkey did!)
pay/paid
way/weighed/wade - ALL /eɪ/. It's only say/said that's irregular in this case.
(There are other more obscure words, but they're of no interest to ELT students)