Then a Priest can absolve only on certain conditions?

The Catholic Answers

Yes. The penitent must tell fully and sincerely all his serious sins; he must be truly sorry for having committed them; determine to try to avoid them for the future; and promise to make good any injury to others whether by defamation of character or by theft of money or goods

Radio Replies Volume 1 by Rev. Dr. Leslie Rumble MSC and Rev. Charles Mortimer Carty