fix: убраны agent_type/supplier_info из чека ЮKassa (вызывали таймаут API)

This commit is contained in:
2026-06-21 13:58:04 +03:00
parent ab0f7e769f
commit b0c9cb91b4
+2 -8
View File
@@ -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"
}
]
}