|
10 | 10 | <section id="payment"> |
11 | 11 | <group id="authorizenet_directpost" translate="label" type="text" sortOrder="34" showInDefault="1" showInWebsite="1" showInStore="1"> |
12 | 12 | <label>Authorize.net Direct Post</label> |
13 | | - <field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 13 | + <field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
14 | 14 | <label>Enabled</label> |
15 | 15 | <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
16 | 16 | </field> |
17 | | - <field id="payment_action" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 17 | + <field id="payment_action" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
18 | 18 | <label>Payment Action</label> |
19 | 19 | <source_model>Magento\Authorizenet\Model\Source\PaymentAction</source_model> |
20 | 20 | </field> |
21 | | - <field id="title" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1"> |
| 21 | + <field id="title" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1"> |
22 | 22 | <label>Title</label> |
23 | 23 | </field> |
24 | 24 | <field id="login" translate="label" type="obscure" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0"> |
|
33 | 33 | <label>Merchant MD5</label> |
34 | 34 | <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model> |
35 | 35 | </field> |
36 | | - <field id="order_status" translate="label" type="select" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 36 | + <field id="order_status" translate="label" type="select" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
37 | 37 | <label>New Order Status</label> |
38 | 38 | <source_model>Magento\Sales\Model\Config\Source\Order\Status\Processing</source_model> |
39 | 39 | </field> |
40 | | - <field id="test" translate="label" type="select" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 40 | + <field id="test" translate="label" type="select" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
41 | 41 | <label>Test Mode</label> |
42 | 42 | <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
43 | 43 | </field> |
44 | | - <field id="cgi_url" translate="label" type="text" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 44 | + <field id="cgi_url" translate="label" type="text" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
45 | 45 | <label>Gateway URL</label> |
46 | 46 | </field> |
47 | | - <field id="cgi_url_td" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 47 | + <field id="cgi_url_td" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
48 | 48 | <label>Transaction Details URL</label> |
49 | 49 | </field> |
50 | | - <field id="currency" translate="label" type="select" sortOrder="110" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 50 | + <field id="currency" translate="label" type="select" sortOrder="110" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
51 | 51 | <label>Accepted Currency</label> |
52 | 52 | <source_model>Magento\Config\Model\Config\Source\Locale\Currency</source_model> |
53 | 53 | </field> |
54 | | - <field id="debug" translate="label" type="select" sortOrder="120" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 54 | + <field id="debug" translate="label" type="select" sortOrder="120" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
55 | 55 | <label>Debug</label> |
56 | 56 | <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
57 | 57 | </field> |
58 | | - <field id="email_customer" translate="label" type="select" sortOrder="130" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 58 | + <field id="email_customer" translate="label" type="select" sortOrder="130" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
59 | 59 | <label>Email Customer</label> |
60 | 60 | <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
61 | 61 | </field> |
62 | 62 | <field id="merchant_email" translate="label" type="text" sortOrder="140" showInDefault="1" showInWebsite="1" showInStore="0"> |
63 | 63 | <label>Merchant's Email</label> |
64 | 64 | <validate>validate-email</validate> |
65 | 65 | </field> |
66 | | - <field id="cctypes" translate="label" type="multiselect" sortOrder="150" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 66 | + <field id="cctypes" translate="label" type="multiselect" sortOrder="150" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
67 | 67 | <label>Credit Card Types</label> |
68 | 68 | <source_model>Magento\Authorizenet\Model\Source\Cctype</source_model> |
69 | 69 | </field> |
70 | 70 | <field id="useccv" translate="label" type="select" sortOrder="160" showInDefault="1" showInWebsite="1" showInStore="0"> |
71 | 71 | <label>Credit Card Verification</label> |
72 | 72 | <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> |
73 | 73 | </field> |
74 | | - <field id="allowspecific" translate="label" type="allowspecific" sortOrder="170" showInDefault="1" showInWebsite="1" showInStore="0"> |
| 74 | + <field id="allowspecific" translate="label" type="allowspecific" sortOrder="170" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1"> |
75 | 75 | <label>Payment from Applicable Countries</label> |
76 | 76 | <source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model> |
77 | 77 | </field> |
|
0 commit comments