Aftermarket stuff with Homelink is always a crapshoot. I'm kind of surprised your ride doesn't have a compass available on the cluster Info Display, Nissan had that even on a '13 Altima. But I just looked in the OM and your Q doesn't have it, go figure.
The same OE compass mirror that fits your Q60 also fits a bunch of other Nissans and Infinitis, the p/n should be 96321-CB01A. There are a ton of them used on the net, here's one on eBay for $30:
https://www.ebay.com/itm/235015818738
PS - The mirror for the sedan and the vert are different from the coupe, so you may have got the wrong one off eBay if you shopped by MMY.