improved agentservice validation
This commit is contained in:
@@ -496,7 +496,6 @@ public class AgentServiceImpl implements AgentService {
|
||||
}
|
||||
|
||||
String fullUrl = agentDtaUrl + BBPSConstant.BILL_VALIDATE_BY_CLIENT_REQ_ID + billInitiate.get().getTxnId();
|
||||
helper.validateMerchant(billValidateByClientIdRequest.getMid());
|
||||
OutboundTraceLog outboundLog = helper.createOutboundLog(txnId, reqId, apiName, fullUrl, BBPSConstant.HTTP_GET,
|
||||
null);
|
||||
|
||||
@@ -542,11 +541,9 @@ public class AgentServiceImpl implements AgentService {
|
||||
String clientReqId = billFetchByClientIdRequest.getClientReqId();
|
||||
String mid = billFetchByClientIdRequest.getMid();
|
||||
String requestJson = helper.convertObjectToJson(billFetchByClientIdRequest);
|
||||
|
||||
LOGGER.info("[{}] START | reqId={} | mid={} | clientReqId={}", apiName, reqId, mid,
|
||||
billFetchByClientIdRequest.getClientReqId());
|
||||
String txnId = helper.generateTxnId(15);
|
||||
helper.validateMerchant(billFetchByClientIdRequest.getMid());
|
||||
InboundTraceLog inboundLog = helper.createInboundLog(reqId, txnId, apiName, billFetchByClientIdRequest.getMid(),
|
||||
BBPSConstant.HTTP_GET, requestJson);
|
||||
helper.validateMerchant(billFetchByClientIdRequest.getMid());
|
||||
|
||||
Reference in New Issue
Block a user