Part of the cost goes to payment processing, including credit card fees. It's not very different from parking meters, where people pay for the convenience of using an app instead of carrying a pocket full of quarters.