Skip to content

Commit d2719e4

Browse files
committed
MC-17753: Authorize.net Cannot read property 'length' of null
1 parent 85728ed commit d2719e4

File tree

1 file changed

+5
-5
lines changed
  • app/code/Magento/AuthorizenetAcceptjs/etc/adminhtml

1 file changed

+5
-5
lines changed

app/code/Magento/AuthorizenetAcceptjs/etc/adminhtml/system.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<config_path>payment/authorizenet_acceptjs/login</config_path>
4242
<validate>required-entry</validate>
4343
<depends>
44-
<field id="*/*/active">1</field>
44+
<field id="*/authorizenet_acceptjs/active">1</field>
4545
</depends>
4646
</field>
4747
<field id="trans_key" translate="label" type="obscure" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0">
@@ -50,15 +50,15 @@
5050
<config_path>payment/authorizenet_acceptjs/trans_key</config_path>
5151
<validate>required-entry</validate>
5252
<depends>
53-
<field id="*/*/active">1</field>
53+
<field id="*/authorizenet_acceptjs/active">1</field>
5454
</depends>
5555
</field>
5656
<field id="public_client_key" translate="label" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="0">
5757
<label>Public Client Key</label>
5858
<config_path>payment/authorizenet_acceptjs/public_client_key</config_path>
5959
<validate>required-entry</validate>
6060
<depends>
61-
<field id="*/*/active">1</field>
61+
<field id="*/authorizenet_acceptjs/active">1</field>
6262
</depends>
6363
</field>
6464
<field id="trans_signature_key" translate="label" type="obscure" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="0">
@@ -67,15 +67,15 @@
6767
<config_path>payment/authorizenet_acceptjs/trans_signature_key</config_path>
6868
<validate>required-entry</validate>
6969
<depends>
70-
<field id="*/*/active">1</field>
70+
<field id="*/authorizenet_acceptjs/active">1</field>
7171
</depends>
7272
</field>
7373
<field id="trans_md5" translate="label" type="obscure" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="0">
7474
<label>Merchant MD5 (deprecated)</label>
7575
<backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
7676
<config_path>payment/authorizenet_acceptjs/trans_md5</config_path>
7777
<depends>
78-
<field id="*/*/active">1</field>
78+
<field id="*/authorizenet_acceptjs/active">1</field>
7979
</depends>
8080
</field>
8181
</group>

0 commit comments

Comments
 (0)