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
91301f36
Commit
91301f36
authored
Jun 10, 2020
by
Marcos Garcia
Committed by
GitHub
Jun 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
001e3328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Model/Cron.php
Model/Cron.php
+1
-1
No files found.
Model/Cron.php
View file @
91301f36
...
...
@@ -364,7 +364,7 @@ class Cron
foreach
(
$notifications
as
$notification
)
{
// Remove OFFER_CLOSED notifications arrived in the last 10 minutes from the list to process to ensure it
// won't close any order which has an AUTHO
IR
SED notification arrived a bit later than the OFFER_CLOSED one.
// won't close any order which has an AUTHO
RI
SED notification arrived a bit later than the OFFER_CLOSED one.
$createdAt
=
\DateTime
::
createFromFormat
(
'Y-m-d H:i:s'
,
$notification
[
'created_at'
]);
$minutesUntilProcessing
=
$offerClosedMinDate
->
diff
(
$createdAt
)
->
i
;
if
(
$notification
[
'event_code'
]
==
Notification
::
OFFER_CLOSED
&&
$minutesUntilProcessing
>
0
)
{
...
...
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