Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
fb6e34c2
Commit
fb6e34c2
authored
Nov 09, 2018
by
attilak
Committed by
Rik ter Beek
Dec 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up old 3d secure commands and file
parent
20190775
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
87 deletions
+0
-87
Gateway/Request/Authorize3DSecureDataBuilder.php
Gateway/Request/Authorize3DSecureDataBuilder.php
+0
-64
etc/di.xml
etc/di.xml
+0
-23
No files found.
Gateway/Request/Authorize3DSecureDataBuilder.php
deleted
100644 → 0
View file @
20190775
<?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ##### ######
* ###### ###### #####( ###### #####. ###### ##### ##### ######
* ############# ############# ############# ############# ##### ######
* ############ ############ ############# ############ ##### ######
* ######
* #############
* ############
*
* Adyen Payment module (https://www.adyen.com/)
*
* Copyright (c) 2015 Adyen BV (https://www.adyen.com/)
* See LICENSE.txt for license details.
*
* Author: Adyen <magento@adyen.com>
*/
namespace
Adyen\Payment\Gateway\Request
;
use
Magento\Payment\Gateway\Request\BuilderInterface
;
/**
* Payment Data Builder
*/
class
Authorize3DSecureDataBuilder
implements
BuilderInterface
{
/**
* @var \Adyen\Payment\Helper\Data
*/
private
$adyenHelper
;
/**
* PaymentDataBuilder constructor.
*
* @param \Adyen\Payment\Helper\Data $adyenHelper
*/
public
function
__construct
(
\Adyen\Payment\Helper\Data
$adyenHelper
)
{
$this
->
adyenHelper
=
$adyenHelper
;
}
/**
* @param array $buildSubject
* @return array
*/
public
function
build
(
array
$buildSubject
)
{
/** @var \Magento\Payment\Gateway\Data\PaymentDataObject $paymentDataObject */
$paymentDataObject
=
\Magento\Payment\Gateway\Helper\SubjectReader
::
readPayment
(
$buildSubject
);
$payment
=
$paymentDataObject
->
getPayment
();
$md
=
$payment
->
getAdditionalInformation
(
'md'
);
$paResponse
=
$payment
->
getAdditionalInformation
(
'paResponse'
);
return
[
"md"
=>
$md
,
"paResponse"
=>
$paResponse
,
];
}
}
etc/di.xml
View file @
fb6e34c2
...
...
@@ -315,7 +315,6 @@
<arguments>
<argument
name=
"commands"
xsi:type=
"array"
>
<item
name=
"authorize"
xsi:type=
"string"
>
AdyenPaymentCcAuthorizeCommand
</item>
<item
name=
"authorize_3d"
xsi:type=
"string"
>
AdyenPaymentAuthorize3DCommand
</item>
<item
name=
"capture"
xsi:type=
"string"
>
AdyenPaymentCaptureCommand
</item>
<item
name=
"void"
xsi:type=
"string"
>
AdyenPaymentCancelCommand
</item>
<item
name=
"refund"
xsi:type=
"string"
>
AdyenPaymentRefundCommand
</item>
...
...
@@ -328,7 +327,6 @@
<arguments>
<argument
name=
"commands"
xsi:type=
"array"
>
<item
name=
"authorize"
xsi:type=
"string"
>
AdyenPaymentOneclickAuthorizeCommand
</item>
<item
name=
"authorize_3d"
xsi:type=
"string"
>
AdyenPaymentAuthorize3DCommand
</item>
<item
name=
"capture"
xsi:type=
"string"
>
AdyenPaymentCaptureCommand
</item>
<item
name=
"void"
xsi:type=
"string"
>
AdyenPaymentCancelCommand
</item>
<item
name=
"refund"
xsi:type=
"string"
>
AdyenPaymentRefundCommand
</item>
...
...
@@ -431,15 +429,6 @@
<argument
name=
"handler"
xsi:type=
"object"
>
AdyenPaymentCcResponseHandlerComposite
</argument>
</arguments>
</virtualType>
<virtualType
name=
"AdyenPaymentAuthorize3DCommand"
type=
"Magento\Payment\Gateway\Command\GatewayCommand"
>
<arguments>
<argument
name=
"requestBuilder"
xsi:type=
"object"
>
AdyenPaymentAuthorize3DRequest
</argument>
<argument
name=
"transferFactory"
xsi:type=
"object"
>
Adyen\Payment\Gateway\Http\TransferFactory
</argument>
<argument
name=
"client"
xsi:type=
"object"
>
Adyen\Payment\Gateway\Http\Client\TransactionAuthorization
</argument>
<argument
name=
"validator"
xsi:type=
"object"
>
GeneralResponseValidator
</argument>
<argument
name=
"handler"
xsi:type=
"object"
>
AdyenPaymentCcResponseHandlerComposite
</argument>
</arguments>
</virtualType>
<virtualType
name=
"AdyenPaymentOneclickAuthorizeCommand"
type=
"Magento\Payment\Gateway\Command\GatewayCommand"
>
<arguments>
...
...
@@ -538,18 +527,6 @@
</arguments>
</virtualType>
<virtualType
name=
"AdyenPaymentAuthorize3DRequest"
type=
"Magento\Payment\Gateway\Request\BuilderComposite"
>
<arguments>
<argument
name=
"builders"
xsi:type=
"array"
>
<item
name=
"merchantaccount"
xsi:type=
"string"
>
Adyen\Payment\Gateway\Request\MerchantAccountDataBuilder
</item>
<item
name=
"browserinfo"
xsi:type=
"string"
>
Adyen\Payment\Gateway\Request\BrowserInfoDataBuilder
</item>
<item
name=
"customerip"
xsi:type=
"string"
>
Adyen\Payment\Gateway\Request\CustomerIpDataBuilder
</item>
<item
name=
"3dsecure"
xsi:type=
"string"
>
Adyen\Payment\Gateway\Request\Authorize3DSecureDataBuilder
</item>
</argument>
</arguments>
</virtualType>
<virtualType
name=
"AdyenPaymentOneclickAuthorizeRequest"
type=
"Magento\Payment\Gateway\Request\BuilderComposite"
>
<arguments>
<argument
name=
"builders"
xsi:type=
"array"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment