Automated proximity-based payment  for minibus taxis

I am researching the use of automated billing and payment systems in minibus taxis. The objective of the project is to develop a small form-factor device that features smart sensing solutions to detect the distance travelled by each passenger, to generate bills based on the distance-travelled and to allow for cashless transactions and to identify traveler’s mobility patterns.