The mayor and council, by ordinance, shall have the power to require any individual, firm, corporation, or other entity that transacts business in the city or that practices or offers to practice any profession or calling within the city to obtain a license or permit for such activity from the city and to pay a reasonable fee for such license or permit where such activities are not exclusively regulated by general law. The city may also regulate such activities and shall provide for the manner and method of payment of such fees. Fees under this section, if unpaid, shall be collected as provided in Section 5.18 of this charter. The council, by ordinance, may establish reasonable requirements for obtaining or keeping such licenses as the public health, safety, and welfare necessitate. The mayor and council may revoke any such license or permit after due process for failure to pay any city taxes or fees or for other cause determined by the mayor and council.