New electronics either fail quickly (it's called infant mortality) or work up to the warranty period or beyond. Unlucky for you that you get to exercise your hard drive warranty.

However this is a personal comment. I don't buy HDDs from that location. I find if I research this more on (read the buyer comments) and on google I get a better drive and more for my money.

In closing if a new drive fails to be detected that means it's a cable issue or if this machine has no cable or adapter the motherboard has failed.