Skip to content

Commit 21b91d9

Browse files
committed
Validate proxy port issue 24312
1 parent f48c62b commit 21b91d9

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

app/code/Magento/Paypal/etc/adminhtml/system/express_checkout.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,9 @@
117117
<field id="use_proxy">1</field>
118118
</depends>
119119
</field>
120-
<field id="proxy_port" translate="label" type="text" sortOrder="110" showInDefault="1" showInWebsite="1">
120+
<field id="proxy_port" translate="label comment" type="text" sortOrder="110" showInDefault="1" showInWebsite="1">
121121
<label>Proxy Port</label>
122+
<comment>Please enter at least 0 and at most 65535</comment>
122123
<config_path>paypal/wpp/proxy_port</config_path>
123124
<attribute type="shared">1</attribute>
124125
<depends>

app/code/Magento/Paypal/etc/adminhtml/system/payflow_advanced.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@
6969
</depends>
7070
<attribute type="shared">1</attribute>
7171
</field>
72-
<field id="proxy_port" translate="label" type="text" sortOrder="90" showInDefault="1" showInWebsite="1">
72+
<field id="proxy_port" translate="label comment" type="text" sortOrder="90" showInDefault="1" showInWebsite="1">
7373
<label>Proxy Port</label>
74+
<comment>Please enter at least 0 and at most 65535</comment>
7475
<config_path>payment/payflow_advanced/proxy_port</config_path>
7576
<depends>
7677
<field id="use_proxy">1</field>

app/code/Magento/Paypal/etc/adminhtml/system/payflow_link.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@
7070
</depends>
7171
<attribute type="shared">1</attribute>
7272
</field>
73-
<field id="proxy_port" translate="label" type="text" sortOrder="80" showInDefault="1" showInWebsite="1">
73+
<field id="proxy_port" translate="label comment" type="text" sortOrder="80" showInDefault="1" showInWebsite="1">
7474
<label>Proxy Port</label>
75+
<comment>Please enter at least 0 and at most 65535</comment>
7576
<config_path>payment/payflow_link/proxy_port</config_path>
7677
<depends>
7778
<field id="use_proxy">1</field>

app/code/Magento/Paypal/etc/adminhtml/system/paypal_payflowpro.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@
6565
</depends>
6666
<attribute type="shared">1</attribute>
6767
</field>
68-
<field id="proxy_port" translate="label" type="text" sortOrder="90" showInDefault="1" showInWebsite="1">
68+
<field id="proxy_port" translate="label comment" type="text" sortOrder="90" showInDefault="1" showInWebsite="1">
6969
<label>Proxy Port</label>
70+
<comment>Please enter at least 0 and at most 65535</comment>
7071
<config_path>payment/payflowpro/proxy_port</config_path>
7172
<depends>
7273
<field id="use_proxy">1</field>

app/code/Magento/Paypal/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,3 +737,4 @@ User,User
737737
"PayPal Credit","PayPal Credit"
738738
"PayPal Guest Checkout Credit Card Icons","PayPal Guest Checkout Credit Card Icons"
739739
"Elektronisches Lastschriftverfahren - German ELV","Elektronisches Lastschriftverfahren - German ELV"
740+
"Please enter at least 0 and at most 65535","Please enter at least 0 and at most 65535"

0 commit comments

Comments
 (0)