Hi there !BlackOut said:
The problem is that you actually bought what is called a "freewheel". It is a cassette that already has the ratchet mechanism built into itself and does not fit onto a regular cassette hub. So...sorry, this part is no good for you.
But you can use a 7spd cassette on a 8/9 speed freehub body, but you have to put a spacer before putting on the cassette. You can buy a spacer like that at your local bike shop. It is only a few millimeters thick and a couple of dollars usually.
Feel free to ask any questions if my explanation is not clear,
Jean-Sebastien