From 20d31903cd462e99da203be857ef9d1ee0ecf4b6 Mon Sep 17 00:00:00 2001 From: behruz-dev Date: Sat, 13 Sep 2025 15:21:07 +0500 Subject: [PATCH] add proxy --- core/services/payment.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/services/payment.py b/core/services/payment.py index 80c2d5d..0e8d62f 100644 --- a/core/services/payment.py +++ b/core/services/payment.py @@ -82,7 +82,10 @@ class Atmos: "success_url": "https://wisdom.uz", } - res = requests.post(url=url, headers=headers, json=data) + res = requests.post(url=url, headers=headers, json=data, proxies={ + 'http': 'http://94.230.232.47:8080', + 'https': 'http://94.230.232.47:8080', + }) if res.status_code == 200: return res.json() else: