|
11 | 11 | <label>Payment Methods</label>
|
12 | 12 | <tab>sales</tab>
|
13 | 13 | <resource>Magento_Payment::payment</resource>
|
| 14 | + <group id="free" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1"> |
| 15 | + <label>Zero Subtotal Checkout</label> |
| 16 | + <field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
| 17 | + <label>Enabled</label> |
| 18 | + <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
| 19 | + </field> |
| 20 | + <field id="order_status" translate="label" type="select" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
| 21 | + <label>New Order Status</label> |
| 22 | + <source_model>Magento\Sales\Model\Config\Source\Order\Status\Newprocessing</source_model> |
| 23 | + </field> |
| 24 | + <field id="payment_action" translate="label" type="select" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
| 25 | + <label>Automatically Invoice All Items</label> |
| 26 | + <source_model>Magento\Payment\Model\Source\Invoice</source_model> |
| 27 | + <depends> |
| 28 | + <field id="order_status" separator=",">processing</field> |
| 29 | + </depends> |
| 30 | + </field> |
| 31 | + <field id="sort_order" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
| 32 | + <label>Sort Order</label> |
| 33 | + <frontend_class>validate-number</frontend_class> |
| 34 | + </field> |
| 35 | + <field id="title" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1"> |
| 36 | + <label>Title</label> |
| 37 | + </field> |
| 38 | + <field id="allowspecific" translate="label" type="allowspecific" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
| 39 | + <label>Payment from Applicable Countries</label> |
| 40 | + <source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model> |
| 41 | + </field> |
| 42 | + <field id="specificcountry" translate="label" type="multiselect" sortOrder="51" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 43 | + <label>Payment from Specific Countries</label> |
| 44 | + <source_model>Magento\Directory\Model\Config\Source\Country</source_model> |
| 45 | + <can_be_empty>1</can_be_empty> |
| 46 | + </field> |
| 47 | + <field id="model"></field> |
| 48 | + </group> |
14 | 49 | </section>
|
15 | 50 | </system>
|
16 | 51 | </config>
|
0 commit comments