routes.xml (1422B)
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" 23 xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> 24 <router id="standard"> 25 <route frontName="taler-checkout" id="taler-checkout"> 26 <module name="GNU_Taler"/> 27 </route> 28 </router> 29 </config> 30 31 <!-- 32 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 33 xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> 34 <router id="standard"> 35 <route url="/v1/GNU/Taler/taler-checkout"> 36 <service class="GNU\Taler\Api\PaymentInterface" method="talerCheckout" /> 37 </route> 38 </router> 39 </config>-->