fix: wire subscription service for yookassa hwid payments

This commit is contained in:
3252a8
2026-05-27 18:13:22 +03:00
parent 25056602d8
commit 1c9e55d797
4 changed files with 107 additions and 0 deletions
+1
View File
@@ -87,6 +87,7 @@ async def create_payment_route(request: web.Request) -> web.Response:
return validation_error
method = str(payment_payload.method or "").strip().lower()
settings: Settings = request.app["settings"]
subscription_service: SubscriptionService = request.app["subscription_service"]
cached = _get_cached_webapp_settings(request)
tariffs_config = settings.tariffs_config
traffic_mode = bool(settings.traffic_sale_mode)