system.xml (2531B)
1 <?xml version="1.0"?> 2 <!-- 3 /** 4 * 5 * This file is part of TALER 6 * Copyright (C) 2024 Taler Systems SA 7 * 8 * TALER is free software; you can redistribute it and/or modify it under the 9 * terms of the GNU General Public License as published by the Free Software 10 * Foundation; either version 3, or (at your option) any later version. 11 * 12 * TALER is distributed in the hope that it will be useful, but WITHOUT ANY 13 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 14 * A PARTICULAR PURPOSE. See the GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License along with 17 * TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 18 * 19 * @author Nicola Eigel 20 */ 21 --> 22 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> 23 <system> 24 <section id="payment"> 25 <group id="gnu_taler" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1"> 26 <label>GNU Taler</label> 27 <field id="active" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0"> 28 <label>Enabled</label> 29 <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> 30 </field> 31 <field id="logo_url" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> 32 <label>Taler Logo URL</label> 33 </field> 34 <field id="backend_url" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> 35 <label>Backend URL</label> 36 </field> 37 <field id="bearer_token" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> 38 <label>Authorization token</label> 39 </field> 40 <field id="currency" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> 41 <label>Currency</label> 42 </field> 43 <field id="pay_deadline_in_seconds" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1"> 44 <label>Payment deadline in seconds</label> 45 </field> 46 </group> 47 </section> 48 </system> 49 </config>