Added some validations to the payment service