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-braintree
Gateway
Validator
PaymentNonceResponseValidator.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Braintree\Gateway\Validator
;
7
11
class
PaymentNonceResponseValidator
extends
GeneralResponseValidator
12
{
16
protected
function
getResponseValidators
()
17
{
18
return
array_merge(
19
parent::getResponseValidators(),
20
[
21
function
(
$response
) {
22
return
[
23
!empty(
$response
->paymentMethodNonce) && !empty(
$response
->paymentMethodNonce->nonce),
24
[
__
(
'Payment method nonce can\'t be retrieved.'
)]
25
];
26
}
27
]
28
);
29
}
30
}
$response
$response
Definition:
404.php:11
Magento\Braintree\Gateway\Validator\GeneralResponseValidator
Definition:
GeneralResponseValidator.php:14
__
__()
Definition:
__.php:13
Magento\Braintree\Gateway\Validator\PaymentNonceResponseValidator
Definition:
PaymentNonceResponseValidator.php:11
Magento\Braintree\Gateway\Validator\PaymentNonceResponseValidator\getResponseValidators
getResponseValidators()
Definition:
PaymentNonceResponseValidator.php:16
Magento\Braintree\Gateway\Validator
Definition:
CancelResponseValidator.php:8