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();
 }
Exemple #2
0
 /**
  * Get url for confirmation link
  *
  * @param Order $order
  * @return string
  */
 public function getConfirmationUrl($order)
 {
     return $this->url($this->getIdentifier(), "confirmation", array("order" => $order->getId()));
 }
Exemple #3
0
 /**
  * Get url for confirmation link.
  *
  * @param Order $order
  *
  * @return string
  */
 public function getConfirmationUrl($order)
 {
     return $this->url($this->getIdentifier(), 'confirmation') . '?order=' . $order->getId();
 }
Exemple #4
0
 /**
  * Get url for confirmation link
  *
  * @param Order $order
  * @return string
  */
 public function getConfirmationUrl($order)
 {
     return $this->url($this->getIdentifier(), 'confirmation', array('order' => $order->getId()));
 }