Verify call bug fix
This commit is contained in:
@@ -137,7 +137,7 @@ class SimbrellaClient:
|
||||
LoanService.set_disbursement_result(loan_data['debtId'],result.get('responseCode', ''), result.get('responseMessage', ''))
|
||||
reload_loan = LoanService.get_loan_by_transaction_id(transaction_id=data['transactionId'])
|
||||
reload_loan_data = reload_loan.to_dict()
|
||||
verify_disbursement_transaction(reload_loan_data)
|
||||
SimbrellaClient.verify_disbursement_transaction(reload_loan_data)
|
||||
return ResponseHelper.success(response.json(), "Successful")
|
||||
|
||||
else:
|
||||
@@ -155,7 +155,7 @@ class SimbrellaClient:
|
||||
@staticmethod
|
||||
def verify_disbursement_transaction(loan_data):
|
||||
if loan_data['disburseResult'] and loan_data['disburseResult'] == '00':
|
||||
verify_transaction(loan_data)
|
||||
SimbrellaClient.verify_transaction(loan_data)
|
||||
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user