§ 1802. Receipts for fines or bail. Upon receipt of the payment of any fine or penalty collected under a sentence or judgment of conviction of a violation of any of the provisions of this chapter or any local law, ordinance, order, rule or regulation made by local authorities in relation to traffic or the deposit of bail of a person charged with a violation of any such provision, local law, ordinance, order, rule or regulation, the officer or employee receiving such payment or deposit shall issue a receipt therefor when the payment or deposit is made in cash. Whenever any such payment or deposit is made by check, money order or in other property, the officer or employee shall issue a receipt therefor upon request; provided, however, no such receipt shall be issued where a fine or penalty is paid by mail unless the name and address of the payee is known to such officer or employee or enclosed with the payment.