Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-paypal
Controller
Express
AbstractExpress
Edit.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Paypal\Controller\Express\AbstractExpress
;
8
9
class
Edit
extends
\Magento\Paypal\Controller\Express\AbstractExpress
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
}
Magento\Framework\Exception\LocalizedException
Definition:
LocalizedException.php:17
Magento\Framework\App\Action\Action\_redirect
_redirect($path, $arguments=[])
Definition:
Action.php:167
Magento\Paypal\Controller\Express\AbstractExpress
Definition:
AbstractExpress.php:15
Magento\Framework\Webapi\Exception
Definition:
Exception.php:20
Magento\Paypal\Controller\Express\AbstractExpress\Edit\execute
execute()
Definition:
Edit.php:16
Magento
Magento\Paypal\Controller\Express\AbstractExpress
Definition:
Cancel.php:7
Magento\Paypal\Controller\Express\AbstractExpress\Edit
Definition:
Edit.php:9
Magento\Checkout\Controller\Express\RedirectLoginInterface\getResponse
getResponse()