"For all fees, fines, costs, assessments and other monies collected by any department of the trial court and payable to the commonwealth under this chapter, the trial court may accept payment by credit card." . . . . .