diff --git a/src/infrastructure/payment_gateways/yoomoney.py b/src/infrastructure/payment_gateways/yoomoney.py index 630a362..5ebd8bf 100644 --- a/src/infrastructure/payment_gateways/yoomoney.py +++ b/src/infrastructure/payment_gateways/yoomoney.py @@ -51,7 +51,7 @@ async def handle_create_payment(self, amount: Decimal, details: str) -> PaymentR follow_redirects=True, ) response.raise_for_status() - return PaymentResult(id=payment_id, url=response.url) + return PaymentResult(id=payment_id, url=str(response.url)) except HTTPStatusError as exception: logger.error(