public function createProcessorUrl(Payment $payment, $action) { $path = $this->router->generate("order_payment", ["reference" => $payment->getFullCode(), "locale" => $this->localeService->getLocale(), "action" => $action]); return $this->urlService->createAppUrl($path); }