Can transfer the key from old mac to new mac

i have just installed the marginnot 3 into my new mac, but it ask me to purchase again or to enter the activation code. I purchased and used on it on Ipad and my iMAC for years. and i don’t have the activation code, what can i do? thanks

Aaron ho