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
82c7d9c5
Commit
82c7d9c5
authored
Jul 18, 2019
by
cyattilakiss
Committed by
GitHub
Jul 18, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #481 from Adyen/PW-1448
PW-1448: add Dankort to card types, add dankort, elo, hipercard to ma…
parents
7f004d40
985f8f20
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
Model/Config/Source/CcType.php
Model/Config/Source/CcType.php
+1
-1
Model/Cron.php
Model/Cron.php
+3
-0
etc/adyen_payment.xml
etc/adyen_payment.xml
+5
-1
No files found.
Model/Config/Source/CcType.php
View file @
82c7d9c5
...
...
@@ -56,7 +56,7 @@ class CcType extends \Magento\Payment\Model\Source\Cctype
*/
public
function
getAllowedTypes
()
{
return
[
'VI'
,
'MC'
,
'AE'
,
'DI'
,
'JCB'
,
'UN'
,
'MI'
,
'DN'
,
'BCMC'
,
'HIPERCARD'
,
'ELO'
,
'TROY'
];
return
[
'VI'
,
'MC'
,
'AE'
,
'DI'
,
'JCB'
,
'UN'
,
'MI'
,
'DN'
,
'BCMC'
,
'HIPERCARD'
,
'ELO'
,
'TROY'
,
'DANKORT'
];
}
/**
...
...
Model/Cron.php
View file @
82c7d9c5
...
...
@@ -1495,6 +1495,9 @@ class Cron
case
'laser'
:
case
'paypal'
:
case
'sepadirectdebit'
:
case
'dankort'
:
case
'elo'
:
case
'hipercard'
:
$manualCaptureAllowed
=
true
;
break
;
default
:
...
...
etc/adyen_payment.xml
View file @
82c7d9c5
...
...
@@ -73,9 +73,13 @@
<label>
Elo
</label>
<code_alt>
elo
</code_alt>
</type>
<type
id=
"TROY"
order=
"1
3
0"
>
<type
id=
"TROY"
order=
"1
2
0"
>
<label>
Troy
</label>
<code_alt>
troy
</code_alt>
</type>
<type
id=
"DANKORT"
order=
"130"
>
<label>
Dankort
</label>
<code_alt>
dankort
</code_alt>
</type>
</adyen_credit_cards>
</payment>
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