(a) Each state agency, as defined in § 4-166, shall accept payment in cash or by check, draft or money order for any license issued by such agency pursuant to the provisions of the general statutes.

(b) Except as otherwise provided by the general statutes, the Secretary of the Office of Policy and Management may authorize any state agency (1) to accept payment of any fee, cost or fine payable to such agency by means of a credit card, charge card or debit card, or an electronic payment service, and (2) to charge a service fee for any such payment made by credit card, charge card or debit card or an electronic payment service. Such service fee shall be (A) related to the cost of service, (B) uniform for all credit cards, charge cards and debit cards accepted, and (C) applied only when allowed by the operating rules and regulations of the credit card, charge card or debit card issuer or processor involved or when authorized in writing by such issuer or processor. Payments by credit card, charge card, debit card or an electronic payment service shall be made at such times and under such conditions as the secretary may prescribe in regulations adopted in accordance with the provisions of chapter 54. Payment of a fee, cost or fine by credit card, charge card, debit card or an electronic payment service shall constitute full payment of such fee, regardless of any discount applied by a credit card company.