diff --git a/core/apps/payment/views.py b/core/apps/payment/views.py index ab8a2b6..7c00e86 100644 --- a/core/apps/payment/views.py +++ b/core/apps/payment/views.py @@ -48,7 +48,7 @@ class AtmosCallbackApiView(APIView): print("Atmos yuborgan SIGN:", sign) check_string = f"{store_id}{transaction_id}{invoice}{amount}{settings.API_KEY}" - generated_sign = hashlib.sha256(check_string.encode()).hexdigest() + generated_sign = hashlib.sha256(check_string.encode()) logger.info(f"Biz generatsiya qilgan SIGN: {generated_sign}") print("Biz generatsiya qilgan SIGN:", generated_sign)