From b0c9cb91b4600b22ebc48c60f4c7caa94bef188a Mon Sep 17 00:00:00 2001 From: AGorokhov Date: Sun, 21 Jun 2026 13:58:04 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=83=D0=B1=D1=80=D0=B0=D0=BD=D1=8B=20a?= =?UTF-8?q?gent=5Ftype/supplier=5Finfo=20=D0=B8=D0=B7=20=D1=87=D0=B5=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=AEKassa=20(=D0=B2=D1=8B=D0=B7=D1=8B=D0=B2=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=20=D1=82=D0=B0=D0=B9=D0=BC=D0=B0=D1=83=D1=82=20API?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/server.py b/server.py index 22b00d8..a519d08 100644 --- a/server.py +++ b/server.py @@ -284,15 +284,9 @@ def create_yookassa_payment(reg_id, amount, description, return_url, customer_em "value": f"{amount:.2f}", "currency": "RUB" }, - "vat_code": 1, # "Без НДС" (no VAT) + "vat_code": 1, # Без НДС "payment_mode": "full_payment", - "payment_subject": "service", - "agent_type": "bank_paying_agent", - "supplier_info": { - "phone": config.SUPPLIER_PHONE, - "name": config.SUPPLIER_NAME, - "inn": config.SUPPLIER_INN - } + "payment_subject": "service" } ] }