def charge(self): try: ValidityCheck.validate_charge_params(self.request_params) except Exception, e: self.response[Constants.STATUS] = Constants.ERROR self.response[ Constants.ERROR_MESSAGE] = "Invalid parameter : " + str(e)
def charge(self): try: ValidityCheck.validate_charge_params(self.request_params) except Exception, e: self.response[Constants.STATUS] = Constants.ERROR self.response[Constants.ERROR_MESSAGE] = "Invalid parameter : " + str(e)