Suggestions for a latch system for bar-lock doors

My trailer has a bar-lock door, not an RV type door. I tried to fit a "slam latch" like many teardrops use, but just cannot get it to be secure enough. The CC seems to flex/twist enough that the latch slips off the jamb I built and the door pops open. The way the door/jamb are arranged, I cannot get enough of the latch to catch... only about 1/4".

I have removed the slam latch and replaced the bar-lock system for now. Question/idea: do some of you with this type of door simply use a bolt latch when securing from the inside, and the bar-lock when securing from the outside?
For those of you who have installed the RV type latch in one of these doors, how hard was it... looks like major surgery in a few photos I've seen..... eww.
Suggestions?
Thanks
I have removed the slam latch and replaced the bar-lock system for now. Question/idea: do some of you with this type of door simply use a bolt latch when securing from the inside, and the bar-lock when securing from the outside?
For those of you who have installed the RV type latch in one of these doors, how hard was it... looks like major surgery in a few photos I've seen..... eww.
Suggestions?
Thanks