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
2c68b508
Commit
2c68b508
authored
Aug 01, 2019
by
rikt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix config property for 3ds2 and put it default on true.
parent
31f6fdbe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
14 deletions
+3
-14
Helper/Data.php
Helper/Data.php
+1
-13
etc/adminhtml/system/adyen_cc.xml
etc/adminhtml/system/adyen_cc.xml
+1
-1
etc/config.xml
etc/config.xml
+1
-0
No files found.
Helper/Data.php
View file @
2c68b508
...
...
@@ -467,18 +467,6 @@ class Data extends AbstractHelper
return
$this
->
getConfigData
(
$field
,
'adyen_cc_vault'
,
$storeId
,
true
);
}
/**
* Gives back adyen_cc_threeds2 configuration values as flag
*
* @param $field
* @param null $storeId
* @return mixed
*/
public
function
getAdyenCcThreeDS2ConfigDataFlag
(
$field
,
$storeId
=
null
)
{
return
$this
->
getConfigData
(
$field
,
'adyen_cc_threeds2'
,
$storeId
,
true
);
}
/**
* Gives back adyen_hpp configuration values
*
...
...
@@ -1739,7 +1727,7 @@ class Data extends AbstractHelper
*/
public
function
isCreditCardThreeDS2Enabled
(
$storeId
=
null
)
{
return
$this
->
getAdyenCc
ThreeDS2ConfigDataFlag
(
'active
'
,
$storeId
);
return
$this
->
getAdyenCc
ConfigDataFlag
(
'threeds2_enabled
'
,
$storeId
);
}
/**
...
...
etc/adminhtml/system/adyen_cc.xml
View file @
2c68b508
...
...
@@ -63,7 +63,7 @@
showInStore=
"1"
>
<label>
3DS2.0 Enabled
</label>
<source_model>
Magento\Config\Model\Config\Source\Yesno
</source_model>
<config_path>
payment/adyen_cc
_threeds2/active
</config_path>
<config_path>
payment/adyen_cc
/threeds2_enabled
</config_path>
</field>
<group
id=
"adyen_cc_advanced_settings"
translate=
"label"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"1"
...
...
etc/config.xml
View file @
2c68b508
...
...
@@ -62,6 +62,7 @@
<can_cancel>
1
</can_cancel>
<can_authorize_vault>
1
</can_authorize_vault>
<can_capture_vault>
1
</can_capture_vault>
<threeds2_enabled>
1
</threeds2_enabled>
<group>
adyen
</group>
</adyen_cc>
<adyen_cc_vault>
...
...
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