A person sentenced to a term of supervised community service or required by a court or a paroling authority to participate in a public or nonprofit community service program may not purchase credit in lieu of performing the community service in any form, including:
42 Pa.C.S. § 9730.2