add dummy values for verify_transaction

This commit was merged in pull request #11.
This commit is contained in:
2025-04-14 18:05:14 +01:00
parent cf57e400d5
commit 62352ed740
2 changed files with 9 additions and 6 deletions
+5 -2
View File
@@ -75,7 +75,7 @@ class SimbrellaClient:
return 1
@staticmethod
def verify_transaction(data):
def verify_transaction():
# api_url = f"{SimbrellaClient.BANK_CALL_BASE_URL}/TransactionVerify"
# logger.info(f"BANK_CALL_BASE_URL = {SimbrellaClient.BANK_CALL_BASE_URL}")
# logger.info(f"Calling TransactionVerify endpoint with data: {data}")
@@ -85,7 +85,10 @@ class SimbrellaClient:
# response = requests.post(api_url, json=data, headers=get_headers())
# logger.info(f"TransactionVerify response: {response.json()}")
return data
return {
"status": "00",
"message": "Transaction verified"
}
except Exception as e:
logger.info(f"Failed to call TransactionVerify endpoint: {e}")