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
531089a4
Commit
531089a4
authored
Nov 16, 2017
by
Rik ter Beek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added forgotten update on notification object and update version for new hotfix release
parent
039cb194
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
Model/Resource/Notification.php
Model/Resource/Notification.php
+7
-2
composer.json
composer.json
+1
-1
etc/module.xml
etc/module.xml
+1
-1
No files found.
Model/Resource/Notification.php
View file @
531089a4
...
...
@@ -36,14 +36,15 @@ class Notification extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
/**
* Get Notification for duplicate check
*
*
* @param $pspReference
* @param $eventCode
* @param $success
* @param $originalReference
* @param null $done
* @return array
*/
public
function
getNotification
(
$pspReference
,
$eventCode
,
$success
,
$originalReference
)
public
function
getNotification
(
$pspReference
,
$eventCode
,
$success
,
$originalReference
,
$done
=
null
)
{
$select
=
$this
->
getConnection
()
->
select
()
->
from
([
'notification'
=>
$this
->
getTable
(
'adyen_notification'
)])
...
...
@@ -51,6 +52,10 @@ class Notification extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
->
where
(
'notification.event_code=?'
,
$eventCode
)
->
where
(
'notification.success=?'
,
$success
);
if
(
$done
)
{
$select
->
where
(
'notification.done=?'
,
$done
);
}
if
(
$originalReference
)
{
$select
->
where
(
'notification.original_reference=?'
,
$originalReference
);
}
...
...
composer.json
View file @
531089a4
...
...
@@ -2,7 +2,7 @@
"name"
:
"adyen/module-payment"
,
"description"
:
"Official Magento2 Plugin to connect to Payment Service Provider Adyen."
,
"type"
:
"magento2-module"
,
"version"
:
"2.1.
2
"
,
"version"
:
"2.1.
3
"
,
"license"
:
[
"OSL-3.0"
,
"AFL-3.0"
...
...
etc/module.xml
View file @
531089a4
...
...
@@ -24,7 +24,7 @@
-->
<config
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"urn:magento:framework:Module/etc/module.xsd"
>
<module
name=
"Adyen_Payment"
setup_version=
"2.1.
2
"
>
<module
name=
"Adyen_Payment"
setup_version=
"2.1.
3
"
>
<sequence>
<module
name=
"Magento_Sales"
/>
<module
name=
"Magento_Quote"
/>
...
...
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