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
We will be off on April 7th (Monday) for public holiday in our country
Open sidebar
Shared Libs
Adyen Magento2
Commits
096ab11b
Commit
096ab11b
authored
6 years ago
by
Rik ter Beek
Committed by
attilak
5 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for banktransfer_iban
parent
49eb6c4a
develop
1687
6.6.5
7.0.0-rc.1
7.0.0-rc.2
KadoBOT-patch-1
KadoBOT-patch-2
KadoBOT-patch-3
KadoBOT-patch-4
PW-1693-boleto
PW-1693-payment-methods-boleto
PW-2390
PW-2422
PW-3129
PW-3157
PW-3600
PW-3685
adyen-pos-cloud-method
bug/compatibility-magento-22
feature/admin_ui
feature/generic-component
fix_google_pay
generic-component
master
rc-update
update_backoffice_ui
upgrade-script-version
7.0.2
7.0.1
7.0.0-rc.1
6.6.8
6.6.6
6.6.5
6.6.4
6.6.3
6.6.2
6.6.1
6.6.0
6.5.0
6.4.0
6.3.0
6.2.1
6.2.0
6.1.2
6.1.1
6.1.0
6.0.0
5.4.0
5.3.0
5.2.0
5.1.0
5.0.2
5.0.1
5.0.0
4.5.4
4.5.3
4.5.2
4.5.1
4.5.0
4.4.0
4.3.0
4.2.1
4.2.0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
18 deletions
+53
-18
Block/Checkout/Success.php
Block/Checkout/Success.php
+10
-0
Block/Info/Hpp.php
Block/Info/Hpp.php
+25
-0
Gateway/Validator/CheckoutResponseValidator.php
Gateway/Validator/CheckoutResponseValidator.php
+18
-18
No files found.
Block/Checkout/Success.php
View file @
096ab11b
...
...
@@ -104,6 +104,16 @@ class Success extends \Magento\Framework\View\Element\Template
return
null
;
}
public
function
getBankTransferData
()
{
$result
=
[];
if
(
!
empty
(
$this
->
getOrder
()
->
getPayment
()
->
getAdditionalInformation
(
'bankTransfer.owner'
)))
{
$result
=
$this
->
getOrder
()
->
getPayment
()
->
getAdditionalInformation
();
}
return
$result
;
}
/**
* Get Banktransfer additional data
*
...
...
This diff is collapsed.
Click to expand it.
Block/Info/Hpp.php
View file @
096ab11b
...
...
@@ -75,6 +75,31 @@ class Hpp extends AbstractInfo
return
$this
->
getInfo
()
->
getOrder
();
}
/**
* Get all Banktransfer related data
*
* @return array
* @throws \Magento\Framework\Exception\LocalizedException
*/
public
function
getBankTransferData
()
{
$result
=
[];
if
(
!
empty
(
$this
->
getInfo
()
->
getOrder
()
->
getPayment
()
->
getAdditionalInformation
(
'bankTransfer.owner'
)))
{
$result
=
$this
->
getInfo
()
->
getOrder
()
->
getPayment
()
->
getAdditionalInformation
();
}
return
$result
;
}
/**
* @return mixed
* @throws \Magento\Framework\Exception\LocalizedException
*/
public
function
getOrder
()
{
return
$this
->
getInfo
()
->
getOrder
();
}
/**
* @return null
* @throws \Magento\Framework\Exception\LocalizedException
...
...
This diff is collapsed.
Click to expand it.
Gateway/Validator/CheckoutResponseValidator.php
View file @
096ab11b
...
...
@@ -27,24 +27,24 @@ use Magento\Payment\Gateway\Validator\AbstractValidator;
class
CheckoutResponseValidator
extends
AbstractValidator
{
/**
* @var \Adyen\Payment\Logger\AdyenLogger
*/
private
$adyenLogger
;
/**
* GeneralResponseValidator constructor.
*
* @param \Magento\Payment\Gateway\Validator\ResultInterfaceFactory $resultFactory
* @param \Adyen\Payment\Logger\AdyenLogger $adyenLogger
*/
public
function
__construct
(
\Magento\Payment\Gateway\Validator\ResultInterfaceFactory
$resultFactory
,
\Adyen\Payment\Logger\AdyenLogger
$adyenLogger
)
{
$this
->
adyenLogger
=
$adyenLogger
;
parent
::
__construct
(
$resultFactory
);
}
/**
* @var \Adyen\Payment\Logger\AdyenLogger
*/
private
$adyenLogger
;
/**
* GeneralResponseValidator constructor.
*
* @param \Magento\Payment\Gateway\Validator\ResultInterfaceFactory $resultFactory
* @param \Adyen\Payment\Logger\AdyenLogger $adyenLogger
*/
public
function
__construct
(
\Magento\Payment\Gateway\Validator\ResultInterfaceFactory
$resultFactory
,
\Adyen\Payment\Logger\AdyenLogger
$adyenLogger
)
{
$this
->
adyenLogger
=
$adyenLogger
;
parent
::
__construct
(
$resultFactory
);
}
/**
* @param array $validationSubject
...
...
This diff is collapsed.
Click to expand it.
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