You may want to post this question in the field of criminal defenses, not debt collection. Settling a civil matter may or may not influence criminal prosecution. Hope this perspective helps!
You may wish to chat with the prosecuting attorney to determine what he's looking to do. It may be that you can get it resolved without even going to court. Yes, of course, bring proof of payment, and be prepared to explain why the failure to pay was in error, and not deliberate.
I'm not your attorney; my answer includes assumptions. If you want me to be your attorney, I'm easy to find.