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 f3f10a63 authored by acampos1916's avatar acampos1916

[PW-1694]: Updating configuration UI for Payment methods > Apple Pay

parent aafeee23
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Enabled</label> <label>Enabled</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model> <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment><![CDATA[Read our documentation on <a href="https://docs.adyen.com/payment-methods/apple-pay/enable-apple-pay" target="_blank">how to enable Apple Pay</a> before proceeding.]]></comment>
<config_path>payment/adyen_apple_pay/active</config_path> <config_path>payment/adyen_apple_pay/active</config_path>
</field> </field>
<field id="title" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> <field id="title" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
...@@ -42,23 +43,21 @@ ...@@ -42,23 +43,21 @@
<config_path>payment/adyen_apple_pay/sort_order</config_path> <config_path>payment/adyen_apple_pay/sort_order</config_path>
</field> </field>
<field id="merchant_identifier_test" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1"> <field id="merchant_identifier_test" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Test: Apple Merchant Identifier</label> <label>Apple merchant identifier for test</label>
<tooltip>You can retrieve this from your Apple Account.</tooltip>
<config_path>payment/adyen_apple_pay/merchant_identifier_test</config_path> <config_path>payment/adyen_apple_pay/merchant_identifier_test</config_path>
</field> </field>
<field id="merchant_identifier_live" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1"> <field id="full_path_location_pem_file_test" translate="label" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Live: Apple Merchant Identifier</label> <label>PEM file location for test</label>
<tooltip>You can retrieve this from your Apple Account.</tooltip> <tooltip>The full path to your PEM file. For example: var/hosts/pemfile.pem</tooltip>
<config_path>payment/adyen_apple_pay/merchant_identifier_live</config_path>
</field>
<field id="full_path_location_pem_file_test" translate="label" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Test: PEM File location</label>
<tooltip>You need to generate a pem file from the apple certificate. You need to upload this to your webserver and define the full path location here.</tooltip>
<config_path>payment/adyen_apple_pay/full_path_location_pem_file_test</config_path> <config_path>payment/adyen_apple_pay/full_path_location_pem_file_test</config_path>
</field> </field>
<field id="merchant_identifier_live" translate="label" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Apple merchant identifier for live</label>
<config_path>payment/adyen_apple_pay/merchant_identifier_live</config_path>
</field>
<field id="full_path_location_pem_file_live" translate="label" type="text" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="1"> <field id="full_path_location_pem_file_live" translate="label" type="text" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Live: PEM File location</label> <label>PEM file location for live</label>
<tooltip>You need to generate a pem file from the apple certificate. You need to upload this to your webserver and define the full path location here.</tooltip> <tooltip>The full path to your PEM file. For example: var/hosts/pemfile.pem</tooltip>
<config_path>payment/adyen_apple_pay/full_path_location_pem_file_live</config_path> <config_path>payment/adyen_apple_pay/full_path_location_pem_file_live</config_path>
</field> </field>
</group> </group>
......
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