/**
  * Customer landing page for cancelled payment
  *
  * @return void
  */
 public function cancelAction()
 {
     $this->helper->redirectIfNotLoggedIn();
     $this->helper->restoreQuote($shouldCancel = true);
     $this->helper->getCheckoutSession()->addSuccess($this->helper->__('Your payment session has been cancelled successfully!'));
     $this->_redirect('checkout/cart', array('_secure' => true));
 }
 /**
  * Customer landing page for unsuccessful payment
  *
  * @see Genesis_API_Documentation \ return_failure_url
  *
  * @return void
  */
 public function failureAction()
 {
     $this->helper->redirectIfNotLoggedIn();
     $this->helper->restoreQuote();
     $this->helper->getCheckoutSession()->addError($this->helper->__('We were unable to process your payment! Please check your input or try again later.'));
     $this->_redirect('checkout/cart', array('_secure' => true));
 }