diff --git a/src/EventSubscriber/DispatchSendPurchaseRequestSubscriber.php b/src/EventSubscriber/DispatchSendPurchaseRequestSubscriber.php index bf34e5e..fe070e3 100644 --- a/src/EventSubscriber/DispatchSendPurchaseRequestSubscriber.php +++ b/src/EventSubscriber/DispatchSendPurchaseRequestSubscriber.php @@ -75,7 +75,7 @@ public function dispatch(ResourceControllerEvent $event): void (int) $order->getId(), $clientId ), - [new DelayStamp($this->delay)] + [DelayStamp::delayFor(new \DateInterval(sprintf('PT%dS', $this->delay)))] )); } }