system.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  9. <system>
  10. <section id="payment">
  11. <group id="authorizenet_acceptjs" translate="label" type="text" sortOrder="34" showInDefault="1" showInWebsite="1" showInStore="1">
  12. <label>Authorize.Net</label>
  13. <field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  14. <label>Enabled</label>
  15. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  16. <requires>
  17. <group id="authorizenet_acceptjs_required"/>
  18. </requires>
  19. </field>
  20. <group id="required" translate="label" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="5">
  21. <label>Basic Authorize.Net Settings</label>
  22. <attribute type="expanded">1</attribute>
  23. <frontend_model>Magento\Config\Block\System\Config\Form\Fieldset</frontend_model>
  24. <field id="title" translate="label" type="text" sortOrder="10" showInDefault="10" showInWebsite="1" showInStore="1" canRestore="1">
  25. <label>Title</label>
  26. <config_path>payment/authorizenet_acceptjs/title</config_path>
  27. </field>
  28. <field id="environment" translate="label" type="select" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="0">
  29. <label>Environment</label>
  30. <source_model>Magento\AuthorizenetAcceptjs\Model\Adminhtml\Source\Environment</source_model>
  31. <config_path>payment/authorizenet_acceptjs/environment</config_path>
  32. </field>
  33. <field id="payment_action" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  34. <label>Payment Action</label>
  35. <source_model>Magento\AuthorizenetAcceptjs\Model\Adminhtml\Source\PaymentAction</source_model>
  36. <config_path>payment/authorizenet_acceptjs/payment_action</config_path>
  37. </field>
  38. <field id="login" translate="label" type="obscure" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="0">
  39. <label>API Login ID</label>
  40. <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
  41. <config_path>payment/authorizenet_acceptjs/login</config_path>
  42. </field>
  43. <field id="trans_key" translate="label" type="obscure" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0">
  44. <label>Transaction Key</label>
  45. <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
  46. <config_path>payment/authorizenet_acceptjs/trans_key</config_path>
  47. </field>
  48. <field id="public_client_key" translate="label" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="0">
  49. <label>Public Client Key</label>
  50. <config_path>payment/authorizenet_acceptjs/public_client_key</config_path>
  51. </field>
  52. <field id="trans_signature_key" translate="label" type="obscure" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="0">
  53. <label>Signature Key</label>
  54. <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
  55. <config_path>payment/authorizenet_acceptjs/trans_signature_key</config_path>
  56. </field>
  57. <field id="trans_md5" translate="label" type="obscure" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="0">
  58. <label>Merchant MD5 (deprecated)</label>
  59. <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
  60. <config_path>payment/authorizenet_acceptjs/trans_md5</config_path>
  61. </field>
  62. </group>
  63. <group id="advanced" translate="label" showInDefault="1" showInWebsite="1" showInStore="0" sortOrder="20">
  64. <label>Advanced Authorize.Net Settings</label>
  65. <attribute type="expanded">0</attribute>
  66. <field id="currency" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  67. <label>Accepted Currency</label>
  68. <source_model>Magento\Config\Model\Config\Source\Locale\Currency</source_model>
  69. <config_path>payment/authorizenet_acceptjs/currency</config_path>
  70. </field>
  71. <field id="debug" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  72. <label>Debug</label>
  73. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  74. <config_path>payment/authorizenet_acceptjs/debug</config_path>
  75. </field>
  76. <field id="email_customer" translate="label" type="select" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  77. <label>Email Customer</label>
  78. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  79. <config_path>payment/authorizenet_acceptjs/email_customer</config_path>
  80. </field>
  81. <field id="cvv_enabled" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  82. <label>Enable Credit Card Verification Field</label>
  83. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  84. <config_path>payment/authorizenet_acceptjs/cvv_enabled</config_path>
  85. </field>
  86. <field id="cctypes" translate="label" type="multiselect" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  87. <label>Credit Card Types</label>
  88. <source_model>Magento\AuthorizenetAcceptjs\Model\Adminhtml\Source\Cctype</source_model>
  89. <config_path>payment/authorizenet_acceptjs/cctypes</config_path>
  90. </field>
  91. <field id="allowspecific" translate="label" type="allowspecific" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="0" canRestore="1">
  92. <label>Payment from Applicable Countries</label>
  93. <source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model>
  94. <config_path>payment/authorizenet_acceptjs/allowspecific</config_path>
  95. </field>
  96. <field id="specificcountry" translate="label" type="multiselect" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="0">
  97. <label>Payment from Specific Countries</label>
  98. <source_model>Magento\Directory\Model\Config\Source\Country</source_model>
  99. <config_path>payment/authorizenet_acceptjs/specificcountry</config_path>
  100. </field>
  101. <field id="min_order_total" translate="label" type="text" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="0">
  102. <label>Minimum Order Total</label>
  103. <config_path>payment/authorizenet_acceptjs/min_order_total</config_path>
  104. </field>
  105. <field id="max_order_total" translate="label" type="text" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="0">
  106. <label>Maximum Order Total</label>
  107. <config_path>payment/authorizenet_acceptjs/max_order_total</config_path>
  108. </field>
  109. <field id="sort_order" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="0">
  110. <label>Sort Order</label>
  111. <frontend_class>validate-number</frontend_class>
  112. <config_path>payment/authorizenet_acceptjs/sort_order</config_path>
  113. </field>
  114. </group>
  115. </group>
  116. </section>
  117. </system>
  118. </config>