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)