Andy Woodman scored from the penalty spot in the second half of his testimonial at Sixfields but it was only a consolation as the Hammers earned a resounding 4-1 victory.
A brace from Kepa Blanco and goals from Marlon Harewood and Carlton Cole gave Hammers the victory as Woody was given a hero's welcome back to his old stomping gound at Northampton Town.
The Hammers were 3-0 up inside the first 20 minutes as Kepa, Harewood and Cole struck the ball past Woody - but the former Northampton favourite made up for it with a neat penalty take past Jimmy Walker.