Retry
This commit is contained in:
@@ -67,11 +67,12 @@ def disbursement():
|
||||
@autocall_bp.route("/retry-disbursement", methods=["POST"])
|
||||
def retry_disbursement():
|
||||
data = request.get_json()
|
||||
logger.info(f"Data received: {data}")
|
||||
logger.info(f"Retry Transaction ID Data Received for :::: {data}")
|
||||
|
||||
transactionId = data["transactionId"]
|
||||
logger.info(f"Starting Transaction ID Data Received for :::: {transactionId}")
|
||||
|
||||
logger.info(f"Calling Disbursement Components")
|
||||
logger.info(f"Calling Disbursement Components for Retry Transaction ID Data Received for :::: {transactionId}")
|
||||
loan = LoanService.get_loan_by_transaction_id(transactionId)
|
||||
if not loan:
|
||||
logger.info(f"No loan found without disbursement date")
|
||||
|
||||
Reference in New Issue
Block a user