Yes, talking to the landlord and making a plan can keep you from being evicted. You both need to agree on the plan. Then, you have to pay like you said to avoid more trouble.