From 729a846f25f099594cd49547af6cff714cd1b64e Mon Sep 17 00:00:00 2001 From: behruz-dev Date: Thu, 11 Sep 2025 17:21:13 +0500 Subject: [PATCH] fix --- core/apps/payment/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/apps/payment/views.py b/core/apps/payment/views.py index 5a5d123..5ecf089 100644 --- a/core/apps/payment/views.py +++ b/core/apps/payment/views.py @@ -49,7 +49,7 @@ class AtmosCallbackApiView(APIView): check_string = f"{store_id}{transaction_id}{invoice}{amount}{settings.API_KEY}" print(check_string) - generated_sign = hashlib.sha256(check_string.encode()).hexdigest() + generated_sign = hashlib.md5(check_string.encode()).hexdigest() logger.info(f"Biz generatsiya qilgan SIGN: {generated_sign}") print("Biz generatsiya qilgan SIGN:", generated_sign)