Skip to content

Commit cc31449

Browse files
committed
MC-31168: [2.3.x] Mark core payment methods as deprecated in Admin
1 parent 9b27953 commit cc31449

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</group>
3939
<group id="deprecated_payment_methods" translate="label" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
4040
<label>Deprecated Payment Methods:</label>
41-
<comment><![CDATA[<b>Note:</b> These payment methods have been deprecated because they are no longer compliant. We recommend that these payment method to be disabled to prevent new orders, since the payment processor might not support them. Please migrate to the official payment methods extensions from Magento Marketplace instead and disable deprecated payment integrations as soon as possible.]]></comment>
41+
<comment><![CDATA[These payment methods have been deprecated because they are no longer compliant. We recommend that these payment method to be disabled to prevent new orders, since the payment processor might not support them. Please migrate to the official payment methods extensions from Magento Marketplace instead and disable deprecated payment integrations as soon as possible.]]></comment>
4242
<attribute type="expanded">1</attribute>
4343
<fieldset_css>paypal-top-section payments-other-header deprecated-message</fieldset_css>
4444
<frontend_model>\Magento\Config\Block\System\Config\Form\Fieldset</frontend_model>

app/design/adminhtml/Magento/backend/Magento_Config/web/css/source/_module.less

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@
150150
}
151151

152152
.deprecated-message > .comment {
153-
background: @deprecated__light_color;
154-
border: 1px solid @deprecated__dark_color;
155-
border-radius: 3px;
156-
color: @deprecated__dark_color;
157-
margin: 5px 0 0;
158-
padding: 3px 7px;
159-
position: relative;
153+
&:extend(.message all);
154+
&:extend(.message-notice all);
160155
}

lib/web/css/source/lib/variables/_colors.less

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,3 @@
120120

121121
@active__color: @theme__color__secondary;
122122
@error__color: @color-red10;
123-
124-
@deprecated__light_color: #faecec;
125-
@deprecated__dark_color: #d6474a;

0 commit comments

Comments
 (0)