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-authorizenet
Controller
Directpost
Payment
Response.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Authorizenet\Controller\Directpost\Payment
;
8
9
use
Magento\Framework\App\CsrfAwareActionInterface
;
10
use
Magento\Framework\App\Request\InvalidRequestException
;
11
use
Magento\Framework\App\RequestInterface
;
12
13
class
Response
extends
\Magento\Authorizenet\Controller\Directpost\Payment
implements
CsrfAwareActionInterface
14
{
18
public
function
createCsrfValidationException
(
19
RequestInterface
$request
20
): ?
InvalidRequestException
{
21
return
null
;
22
}
23
27
public
function
validateForCsrf
(
RequestInterface
$request
): ?bool
28
{
29
return
true
;
30
}
31
38
public
function
execute
()
39
{
40
$this->
_responseAction
(
'frontend'
);
41
return
$this->resultFactory->create(\
Magento
\Framework\Controller\ResultFactory::TYPE_PAGE);
42
}
43
}
Magento\Framework\App\Response\Http
Definition:
FileFactory.php:7
Magento\Authorizenet\Controller\Directpost\Payment\Response\execute
execute()
Definition:
Response.php:38
Magento\Framework\App\Request\InvalidRequestException
Definition:
InvalidRequestException.php:20
Magento\Framework\App\CsrfAwareActionInterface
Definition:
CsrfAwareActionInterface.php:16
Magento\Framework\App\RequestInterface
Definition:
RequestInterface.php:14
Magento\Authorizenet\Controller\Directpost\Payment\Response\validateForCsrf
validateForCsrf(RequestInterface $request)
Definition:
Response.php:27
Magento
$request
$request
Definition:
quote_with_configurable_product_last_variation.php:22
Magento\Authorizenet\Controller\Directpost\Payment
Definition:
BackendResponseTest.php:7
Magento\Authorizenet\Controller\Directpost\Payment\_responseAction
_responseAction($area='frontend')
Definition:
Payment.php:71
Magento\Authorizenet\Controller\Directpost\Payment
Definition:
Payment.php:15
Magento\Authorizenet\Controller\Directpost\Payment\Response\createCsrfValidationException
createCsrfValidationException(RequestInterface $request)
Definition:
Response.php:18