Can't figure out passenger side handle

After painting my car I'm installing the handle and key cylinder back onto the doors. Drivers side went on and worked fine. Passenger side not so much.

I don't understand what could be wrong. I put it on the same way as the drivers side.

My issue: - the handle button does not engage all the way, it doesn't let me push it in all the way, but I can manually pull the bar down that attaches to it on the inside with ease.

The key lock doesn't lock. It's new. When I press down the lock on the top of the door it doesn't stay locked. It just kinda goes down and then up again.