changed payment helper method signature to accept float instead if integer