add endpoint for penal charge
This commit is contained in:
@@ -71,7 +71,6 @@ class SimbrellaClient:
|
||||
|
||||
except Exception as e:
|
||||
logger.info(f"Failed to call Disbursement endpoint: {e}")
|
||||
#raise
|
||||
return 0
|
||||
|
||||
return 1
|
||||
@@ -150,6 +149,18 @@ class SimbrellaClient:
|
||||
|
||||
return data
|
||||
|
||||
except Exception as e:
|
||||
logger.info(f"Failed to call Payment Callback endpoint: {e}")
|
||||
raise
|
||||
|
||||
@staticmethod
|
||||
def penal_charge(data):
|
||||
|
||||
try:
|
||||
logger.info(f"Here is your Penal Charge Request data ***** : {data}")
|
||||
|
||||
return data
|
||||
|
||||
except Exception as e:
|
||||
logger.info(f"Failed to call Payment Callback endpoint: {e}")
|
||||
raise
|
||||
Reference in New Issue
Block a user