Skip to content

Commit 2e01e95

Browse files
committed
Merge remote-tracking branch 'origin/MC-20124' into 2.3-develop-pr86
2 parents a989a3e + 7ff724d commit 2e01e95

File tree

63 files changed

+189
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+189
-20
lines changed

app/code/Magento/AuthorizenetAcceptjs/Block/Form.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* Block for representing the payment form
1919
*
2020
* @api
21+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
22+
* official payment integration available on the marketplace
2123
*/
2224
class Form extends Cc
2325
{

app/code/Magento/AuthorizenetAcceptjs/Block/Info.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* Translates the labels for the info block
1616
*
1717
* @api
18+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
19+
* official payment integration available on the marketplace
1820
*/
1921
class Info extends ConfigurableInfo
2022
{

app/code/Magento/AuthorizenetAcceptjs/Block/Payment.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* Represents the payment block for the admin checkout form
1919
*
2020
* @api
21+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
22+
* official payment integration available on the marketplace
2123
*/
2224
class Payment extends Template
2325
{

app/code/Magento/AuthorizenetAcceptjs/Gateway/Command/AcceptPaymentStrategyCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
/**
1616
* Chooses the best method of accepting the payment based on the status of the transaction
17+
*
18+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
19+
* official payment integration available on the marketplace
1720
*/
1821
class AcceptPaymentStrategyCommand implements CommandInterface
1922
{

app/code/Magento/AuthorizenetAcceptjs/Gateway/Command/CaptureStrategyCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
/**
2222
* Chooses the best method of capture based on the context of the payment
23+
*
24+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
25+
* official payment integration available on the marketplace
2326
*/
2427
class CaptureStrategyCommand implements CommandInterface
2528
{

app/code/Magento/AuthorizenetAcceptjs/Gateway/Command/FetchTransactionInfoCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
/**
1919
* Syncs the transaction status with authorize.net
20+
*
21+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
22+
* official payment integration available on the marketplace
2023
*/
2124
class FetchTransactionInfoCommand implements CommandInterface
2225
{

app/code/Magento/AuthorizenetAcceptjs/Gateway/Command/GatewayQueryCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
/**
2222
* Makes a request to the gateway and returns results
23+
*
24+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
25+
* official payment integration available on the marketplace
2326
*/
2427
class GatewayQueryCommand implements CommandInterface
2528
{

app/code/Magento/AuthorizenetAcceptjs/Gateway/Command/RefundTransactionStrategyCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
/**
1616
* Chooses the best method of returning the payment based on the status of the transaction
17+
*
18+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
19+
* official payment integration available on the marketplace
1720
*/
1821
class RefundTransactionStrategyCommand implements CommandInterface
1922
{

app/code/Magento/AuthorizenetAcceptjs/Gateway/Config.php

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
/**
1515
* Houses configuration for this gateway
16+
*
17+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
18+
* official payment integration available on the marketplace
1619
*/
1720
class Config extends \Magento\Payment\Gateway\Config\Config
1821
{
@@ -33,19 +36,6 @@ class Config extends \Magento\Payment\Gateway\Config\Config
3336
private const SOLUTION_ID_SANDBOX = 'AAA102993';
3437
private const SOLUTION_ID_PRODUCTION = 'AAA175350';
3538

36-
/**
37-
* @param ScopeConfigInterface $scopeConfig
38-
* @param null|string $methodCode
39-
* @param string $pathPattern
40-
*/
41-
public function __construct(
42-
ScopeConfigInterface $scopeConfig,
43-
$methodCode = null,
44-
$pathPattern = self::DEFAULT_PATH_PATTERN
45-
) {
46-
parent::__construct($scopeConfig, $methodCode, $pathPattern);
47-
}
48-
4939
/**
5040
* Gets the login id
5141
*

app/code/Magento/AuthorizenetAcceptjs/Gateway/Http/Client.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222
/**
2323
* A client that can communicate with the Authorize.net API
24+
*
25+
* @deprecated Starting from Magento 2.3.4 Authorize.net payment method core integration is deprecated in favor of
26+
* official payment integration available on the marketplace
2427
*/
2528
class Client implements ClientInterface
2629
{
@@ -109,10 +112,12 @@ public function placeRequest(TransferInterface $transferObject)
109112
try {
110113
$data = $this->json->unserialize($responseBody);
111114
} catch (InvalidArgumentException $e) {
115+
// phpcs:ignore Magento2.Exceptions.DirectThrow
112116
throw new \Exception('Invalid JSON was returned by the gateway');
113117
}
114118

115119
return $data;
120+
// phpcs:ignore Magento2.Exceptions.ThrowCatch
116121
} catch (\Exception $e) {
117122
$this->logger->critical($e);
118123

0 commit comments

Comments
 (0)