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();
 }
Example #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()));
 }
Example #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();
 }
Example #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()));
 }