Before buying a new washer, check the drain hose. There maybe something stuck in the hose. Be sure to check the drain, also. Try using drain cleaner ex: Drano.
This was my problem. Could save you some money. Another idea, check with a local appliance dealer before using large retailer. Many times you can get a better price plus good service if needed later.