Skip to content

Commit c01a876

Browse files
author
Ivan Tagil
committed
CMP-37 - Code Improvements
1 parent 7da4742 commit c01a876

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

etc/adminhtml/system.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@
574574
showInWebsite="1" showInStore="1">
575575
<label>Payment from Applicable Currencies</label>
576576
<source_model>CM\Payments\Model\Adminhtml\Source\AllSpecificCurrencies</source_model>
577-
<config_path>payment/cm_payments_paypal/allow_specific_currency</config_path>
577+
<config_path>payment/cm_payments_bancontact/allow_specific_currency</config_path>
578578
<depends>
579579
<field id="active">1</field>
580580
</depends>
@@ -584,7 +584,7 @@
584584
<label>Payment from Specific Currencies</label>
585585
<source_model>CM\Payments\Model\Adminhtml\Source\Currency</source_model>
586586
<can_be_empty>1</can_be_empty>
587-
<config_path>payment/cm_payments_paypal/specific_currency</config_path>
587+
<config_path>payment/cm_payments_bancontact/specific_currency</config_path>
588588
<depends>
589589
<field id="allow_specific_currency">1</field>
590590
</depends>

etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
</cm_payments_paypal>
121121
<cm_payments_bancontact>
122122
<active>0</active>
123-
<model>CMPaymentsBancontactFacade</model>
123+
<model>CMPaymentsBanContactFacade</model>
124124
<order_status>pending</order_status>
125125
<payment_action>initialize</payment_action>
126126
<title>Bancontact by CM.com</title>

etc/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
<!-- END CM Payments (PayPal) Method -->
305305

306306
<!-- BEGIN CM Payments (BanContact) Method -->
307-
<virtualType name="CMPaymentsBancontactFacade" type="CMPaymentsFacade">
307+
<virtualType name="CMPaymentsBanContactFacade" type="CMPaymentsFacade">
308308
<arguments>
309309
<argument name="code" xsi:type="const">CM\Payments\Model\ConfigProvider::CODE_BANCONTACT</argument>
310310
<argument name="valueHandlerPool" xsi:type="object">CMBanContactValueHandlerPool</argument>

0 commit comments

Comments
 (0)