public function confirmationAction() { $orderId = $this->getParam('order'); if ($orderId) { $order = \CoreShop\Model\Order::getById($orderId); if ($order instanceof \CoreShop\Model\Order) { $this->session->order = $order; } } parent::confirmationAction(); }
/** * Get url for confirmation link * * @param Order $order * @return string */ public function getConfirmationUrl($order) { return $this->url($this->getIdentifier(), "confirmation", array("order" => $order->getId())); }
/** * Get url for confirmation link. * * @param Order $order * * @return string */ public function getConfirmationUrl($order) { return $this->url($this->getIdentifier(), 'confirmation') . '?order=' . $order->getId(); }
/** * Get url for confirmation link * * @param Order $order * @return string */ public function getConfirmationUrl($order) { return $this->url($this->getIdentifier(), 'confirmation', array('order' => $order->getId())); }