We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit d96bb2de authored by alexandros's avatar alexandros

Added depends tag for specific country, Correct capitalization

parent ff651251
......@@ -24,10 +24,10 @@
-->
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
<group id="payment_methods" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label><![CDATA[Payment methods]]></label>
<label>Payment methods</label>
<group id="credit_cards" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label><![CDATA[Credit cards]]></label>
<label>Credit cards</label>
<field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1"
showInStore="1">
<label>Enabled</label>
......@@ -47,15 +47,15 @@
</field>
<field id="cctypes" translate="label" type="multiselect" sortOrder="40" showInDefault="1" showInWebsite="1"
showInStore="0">
<label>Credit Card Types</label>
<label>Enabled credit card types</label>
<source_model>Adyen\Payment\Model\Config\Source\CcType</source_model>
<config_path>payment/adyen_cc/cctypes</config_path>
</field>
</group>
<group id="store_shopper_details_options" translate="label" type="text" sortOrder="20" showInDefault="1"
<group id="store_shopper_details_options" translate="label" type="text" sortOrder="50" showInDefault="1"
showInWebsite="1" showInStore="1">
<label><![CDATA[Store shopper details options]]></label>
<label>Store shopper details options</label>
<comment><![CDATA[Adyen can securely store the credit card payment details of your shoppers, allowing you to offer recurring payments.
For more information please visit our <a target="_blank" href="https://docs.adyen.com/">docs.</a>]]></comment>
<field id="store_oneclick" translate="label" type="select" sortOrder="10" showInDefault="1"
......@@ -69,30 +69,30 @@
<field id="store_recurring" translate="label" type="select" sortOrder="20" showInDefault="1"
showInWebsite="1"
showInStore="1">
<label>Sotre recurring contracts</label>
<label>Store recurring contracts</label>
<tooltip>"You can complete the transaction without the shopper being present"</tooltip>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<config_path>payment/adyen_abstract/enable_recurring</config_path>
</field>
</group>
<group id="advanced_options" translate="label" showInDefault="1" showInWebsite="1" sortOrder="30">
<group id="advanced_options" translate="label" showInDefault="1" showInWebsite="1" sortOrder="60">
<label>Advanced options</label>
<field id="enable_installments" translate="label" type="select" sortOrder="10" showInDefault="1"
showInWebsite="1" showInStore="1">
<label>Enable Installments</label>
<label>Enable installments</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<config_path>payment/adyen_cc/enable_installments</config_path>
</field>
<field id="allowspecific" translate="label" type="allowspecific" sortOrder="20" showInDefault="1"
showInWebsite="1" showInStore="0">
<label>Payment from Applicable Countries</label>
<label>Payment from applicable countries</label>
<source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model>
<config_path>payment/adyen_cc/allowspecific</config_path>
</field>
<field id="specificcountry" translate="label" type="multiselect" sortOrder="30" showInDefault="1"
showInWebsite="1" showInStore="0">
<label>Payment from Specific Countries</label>
<label>Payment from specific countries</label>
<source_model>Magento\Directory\Model\Config\Source\Country</source_model>
<depends>
<field id="allowspecific">1</field>
......@@ -101,5 +101,9 @@
<config_path>payment/adyen_cc/specificcountry</config_path>
</field>
</group>
</group>
</group>
</include>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment