If any person convicted of any of the offenses herein prohibited, shall not immediately pay the penalty incurred, with the costs of the conviction, or give security to the satisfaction of the officer before whom the conviction shall be had, for the payment of the said penalty and costs within 20 days thereafter, he shall be committed by warrant to the common jail of the county, until the same be paid, or for such term, not exceeding 30 days, as shall be specified in the warrant.
MCL 752.529