Добавлен поллер накладной
This commit is contained in:
@@ -141,8 +141,6 @@ class OrderRepositoryProtocol(Protocol):
|
||||
session: object,
|
||||
order_uuid: str,
|
||||
cdek_order_uuid: str,
|
||||
cdek_waybill_uuid: str | None = None,
|
||||
cdek_waybill_url: str | None = None,
|
||||
) -> object | None: ...
|
||||
|
||||
|
||||
@@ -411,8 +409,6 @@ class AggregatorService:
|
||||
await self._save_cdek_order_uuid(
|
||||
order_uuid=notification.OrderId,
|
||||
cdek_order_uuid=registration_result.order_uuid,
|
||||
cdek_waybill_uuid=registration_result.waybill_uuid,
|
||||
cdek_waybill_url=registration_result.waybill_url,
|
||||
)
|
||||
return "OK"
|
||||
|
||||
@@ -492,8 +488,6 @@ class AggregatorService:
|
||||
*,
|
||||
order_uuid: str,
|
||||
cdek_order_uuid: str,
|
||||
cdek_waybill_uuid: str | None,
|
||||
cdek_waybill_url: str | None,
|
||||
) -> None:
|
||||
if self._order_repository is None:
|
||||
raise TBankPaymentNotificationProcessingError(
|
||||
@@ -506,8 +500,6 @@ class AggregatorService:
|
||||
session,
|
||||
order_uuid,
|
||||
cdek_order_uuid,
|
||||
cdek_waybill_uuid,
|
||||
cdek_waybill_url,
|
||||
)
|
||||
if order is None:
|
||||
logger.warning(
|
||||
|
||||
Reference in New Issue
Block a user