From eac33ce23042ab92587f5dc093775253db62b300 Mon Sep 17 00:00:00 2001
From: Shishir Suman <shishir.suman@tarento.com>
Date: Wed, 11 Oct 2023 12:07:41 +0530
Subject: [PATCH] changes for updating fee

---
 .../upsmf/userManagement/services/impl/PaymentServiceImpl.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/com/tarento/upsmf/userManagement/services/impl/PaymentServiceImpl.java b/src/main/java/com/tarento/upsmf/userManagement/services/impl/PaymentServiceImpl.java
index 0fcc51d..afa3659 100644
--- a/src/main/java/com/tarento/upsmf/userManagement/services/impl/PaymentServiceImpl.java
+++ b/src/main/java/com/tarento/upsmf/userManagement/services/impl/PaymentServiceImpl.java
@@ -110,10 +110,12 @@ public class PaymentServiceImpl implements PaymentService {
     }
 
     private void updateStudentFeeStatus(String referenceNo) {
+        logger.info("updating student fee for ref - {}", referenceNo);
         HttpHeaders httpHeaders = new HttpHeaders();
         httpHeaders.setContentType(MediaType.APPLICATION_JSON);
         httpHeaders.setBearerAuth(EXAMS_AUTH_TOKEN);
         HttpEntity<String> entity = new HttpEntity<String>(referenceNo, httpHeaders);
+        logger.info("exam url - {}", FEE_STATUS_UPDATE_ENDPOINT);
         ResponseEntity<ResponseDto> responseEntity = restTemplate.postForObject(FEE_STATUS_UPDATE_ENDPOINT, entity, ResponseEntity.class);
         logger.info("Update student fee status - {}", responseEntity);
         if(responseEntity != null && responseEntity.getStatusCode() == HttpStatus.OK) {
-- 
GitLab