It is not clear from your note if the second event was an eviction warrant or an outright possession order?(posted 8587 days ago)either way if you now have the money to cover the arrears and you want to keep possession, then pay the arrears, then write/fax the lender requesting they withdraw any action. if they continue then write to the District Judge at the court explaining what you have done ie pay off all the arrears and that the lender is still continuing with the action.
THe DJ will/may set aside the SPO or adjourn matter generally ie no possession
NOTE! if the lender is unreasonable then they will not be able to recover the costs of the hearing. Point this out to the DJ.
Good luck