Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Edit.php
Go to the documentation of this file.
1 <?php
8 
10 {
16  public function execute()
17  {
18  try {
19  $this->getResponse()->setRedirect($this->_config->getExpressCheckoutEditUrl($this->_initToken()));
20  } catch (\Magento\Framework\Exception\LocalizedException $e) {
21  $this->messageManager->addExceptionMessage(
22  $e,
23  $e->getMessage()
24  );
25  $this->_redirect('*/*/review');
26  }
27  }
28 }
_redirect($path, $arguments=[])
Definition: Action.php:167