fix: restore settings binding in platega webapp payment creator

This commit is contained in:
3252a8
2026-05-18 21:23:57 +03:00
parent a7728f80d0
commit fcd494f815
+1
View File
@@ -497,6 +497,7 @@ def create_service(ctx: ServiceFactoryContext) -> PlategaService:
async def _create_webapp_payment(ctx: WebAppPaymentContext, variant: str) -> web.Response:
settings: Settings = ctx.request.app["settings"]
service: PlategaService = ctx.request.app["platega_service"]
if not service or not service.configured:
return payment_unavailable()