As long as the interface of the old drive is SATA you are okay with the amazon drive. The thing to watch out for is the thickness. If the Samsung drive is 9.5mm thick you may need to add a paper shim on the drive in order for it to connect correctly to the motherboard.
If you have an ebay account you can get a 1TB drive for approx the same price. Edit: confirm with the seller what thickness the drive is.
Edit Edit: I can confirm that the below drive is 9.5mm thick. If your samsung drive is 7mm then it will not work.
Because the drive is clicking, you may need to purchase a new OS unless the laptop came with Windows 8.
Edited by JohnC_21, 23 June 2015 - 11:30 AM.