Ok so the door tries to shut but them bounces back leaving it partialy shut but not secured tight.

Could it be the contacts? What do you clean them with?
Could it be the sensor?

Could it be a fuse? i've read about FUSE #13 working to repair older models door issues?