delete some colums from payment start record
This commit is contained in:
@@ -222,6 +222,9 @@ public class BBPSConstant extends BBPS_RESPONSE_COD_CONSTANT {
|
||||
public static final String INTERNALSERVER_ERROR_STR = "600";
|
||||
public static final String USER_UNAUTHORIZED_STR = "401";
|
||||
public static final String OK_STR = "200";
|
||||
public static final String RESPONSE_TYPE_INTENT = "INTENT";
|
||||
public static final String RESPONSE_TYPE_WEB = "WEB";
|
||||
|
||||
|
||||
// Newly added constant for invalid JSON status code
|
||||
|
||||
|
||||
@@ -721,7 +721,6 @@ public class BillerMapperHelper {
|
||||
parent.setUserId(responseWrapper.getUserId());
|
||||
// Map incoming DTO date strings into Auditable LocalDateTime fields
|
||||
Date parentCreatedOn = parseToDate(responseWrapper.getCreationDate());
|
||||
|
||||
Date parentUpdatedOn = parseToDate(responseWrapper.getModifiedDate());
|
||||
parent.setCreatedEpochDate(responseWrapper.getCreatedEpochDate());
|
||||
parent.setModifiedEpochDate(responseWrapper.getModifiedEpochDate());
|
||||
@@ -1130,9 +1129,6 @@ public class BillerMapperHelper {
|
||||
record.setTxnId(Optional.ofNullable(
|
||||
apiResponse.getResponseData().getTxnId()).orElse("DUMMY_TXN"));
|
||||
|
||||
record.setQrString(Optional.ofNullable(
|
||||
apiResponse.getResponseData().getQrString()).orElse("NO_QR"));
|
||||
|
||||
Date createdOn = parseToDate(apiResponse.getResponseData().getCreatedOn());
|
||||
|
||||
record.setTxnStatus("PENDING");
|
||||
@@ -1141,9 +1137,6 @@ public class BillerMapperHelper {
|
||||
record.setTxnStatus("PENDING");
|
||||
}
|
||||
|
||||
// Raw request/response
|
||||
record.setRequestBody(requestJson);
|
||||
record.setResponseBody(rawResponse);
|
||||
record.setResponseType(responseType);
|
||||
|
||||
return paymentStartRecordRepository.save(record);
|
||||
|
||||
Reference in New Issue
Block a user