system.xml 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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="fraud_protection" translate="label" type="text" sortOrder="410" showInDefault="1" showInWebsite="1" showInStore="1">
  11. <label>Fraud Protection</label>
  12. <tab>sales</tab>
  13. <resource>Magento_Sales::fraud_protection</resource>
  14. <group id="signifyd" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
  15. <fieldset_css>signifyd-logo-header</fieldset_css>
  16. <group id="about" translate="label comment" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="0">
  17. <frontend_model>Magento\Signifyd\Block\Adminhtml\System\Config\Fieldset\Info</frontend_model>
  18. <fieldset_css>signifyd-about-header</fieldset_css>
  19. <label><![CDATA[Protect your store from fraud with Guaranteed Fraud Protection by Signifyd.]]></label>
  20. <comment><![CDATA[Signifyd automatically reviews your orders for fraud, telling you in seconds which orders to ship, and which to reject.
  21. We back our approvals with 100% chargeback protection, reimbursing you the full order amount plus fees should you ever receive a fraudulent chargeback.
  22. <p>Benefits:<ul>
  23. <li>Grow your business without fear of fraud</li>
  24. <li>Accept more orders and maximize your revenue</li>
  25. <li>Automate order review and shift fraud off your plate</li></ul></p>]]>
  26. </comment>
  27. <more_url>https://www.signifyd.com/magento-guaranteed-fraud-protection</more_url>
  28. </group>
  29. <group id="config" translate="label comment" sortOrder="15" showInDefault="1" showInWebsite="1" showInStore="0">
  30. <fieldset_css>signifyd-about-header</fieldset_css>
  31. <label>Configuration</label>
  32. <comment><![CDATA[<a href="https://www.signifyd.com/resources/manual/magento-2/signifyd-on-magento-integration-guide/" target="_blank">View our setup guide</a> for step-by-step instructions on how to integrate Signifyd with Magento.<br />For support contact <a href="mailto:support@signifyd.com">support@signifyd.com</a>.]]>
  33. </comment>
  34. <field id="active" translate="label" type="select" showInDefault="1" showInWebsite="1" showInStore="0">
  35. <label>Enable this Solution</label>
  36. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  37. <config_path>fraud_protection/signifyd/active</config_path>
  38. </field>
  39. <field id="api_key" translate="label" type="obscure" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="0">
  40. <label>API Key</label>
  41. <comment><![CDATA[Your API key can be found on the <a href="http://signifyd.com/settings" target="_blank">settings page</a> in the Signifyd console]]></comment>
  42. <config_path>fraud_protection/signifyd/api_key</config_path>
  43. <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
  44. </field>
  45. <field id="api_url" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="0">
  46. <label>API URL</label>
  47. <config_path>fraud_protection/signifyd/api_url</config_path>
  48. <comment>Don’t change unless asked to do so.</comment>
  49. </field>
  50. <field id="debug" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="0">
  51. <label>Debug</label>
  52. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  53. <config_path>fraud_protection/signifyd/debug</config_path>
  54. </field>
  55. <field id="webhook_url" translate="label comment" type="text" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="0">
  56. <label>Webhook URL</label>
  57. <comment><![CDATA[Your webhook URL will be used to <a href="https://app.signifyd.com/settings/notifications" target="_blank">configure</a> a guarantee completed webhook in Signifyd. Webhooks are used to sync Signifyd`s guarantee decisions back to Magento.]]></comment>
  58. <attribute type="handler_url">signifyd/webhooks/handler</attribute>
  59. <frontend_model>Magento\Signifyd\Block\Adminhtml\System\Config\Field\WebhookUrl</frontend_model>
  60. </field>
  61. </group>
  62. </group>
  63. </section>
  64. </system>
  65. </config>