Whirlpool Duet Door not Latching

My GHW9150PW0 front load washers door won’t latch shut. If I push the door closed and hold it closed the washer will run but the door won’t stay closed on it’s own. What is the problem? Is it the locking mechanism or is it the striker?