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
Hostedpro
ReturnAction.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Paypal\Controller\Hostedpro
;
8
9
class
ReturnAction
extends
\Magento\Framework\App\Action\Action
10
{
16
public
function
execute
()
17
{
18
$session
= $this->_objectManager->get(\
Magento
\
Checkout
\Model\Session::class);
19
//TODO: some actions with order
20
if
(
$session
->getLastRealOrderId()) {
21
$this->
_redirect
(
'checkout/onepage/success'
);
22
}
23
}
24
}
Magento\Framework\App\Action\Action\_redirect
_redirect($path, $arguments=[])
Definition:
Action.php:167
Magento\Paypal\Controller\Hostedpro\ReturnAction\execute
execute()
Definition:
ReturnAction.php:16
Magento\Paypal\Helper\Checkout
Definition:
Checkout.php:13
Magento\Paypal\Controller\Hostedpro
Definition:
Cancel.php:7
$session
$session
Definition:
quote_with_configurable_product_last_variation.php:62
Magento\Paypal\Controller\Hostedpro\ReturnAction
Definition:
ReturnAction.php:9
Magento
Magento\Framework\App\Action\Action
Definition:
Action.php:25