Answer:
"Hap" is the word "Happen". Shakespeare used both although "hap" was on the way out, because sometimes it was what he needed for his rhyme scheme. Something the same happened (or happed) with the verb "to ope" which we would now only recognize as "to open"