gnu-taler-payment-for-magento

Adobe Commerce (Magento) plugin to enable payments with GNU Taler
Log | Files | Refs | README

checkout_index_index.xml (3942B)


      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 <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column"
     23       xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
     24     <body>
     25         <referenceBlock name="checkout.root">
     26             <arguments>
     27                 <argument name="jsLayout" xsi:type="array">
     28                     <item name="components" xsi:type="array">
     29                         <item name="checkout" xsi:type="array">
     30                             <item name="children" xsi:type="array">
     31                                 <item name="steps" xsi:type="array">
     32                                     <item name="children" xsi:type="array">
     33                                         <item name="billing-step" xsi:type="array">
     34                                             <item name="component" xsi:type="string">uiComponent</item>
     35                                             <item name="children" xsi:type="array">
     36                                                 <item name="payment" xsi:type="array">
     37                                                     <item name="children" xsi:type="array">
     38                                                         <item name="renders" xsi:type="array">
     39                                                             <!-- merge payment method renders here -->
     40                                                             <item name="children" xsi:type="array">
     41                                                                 <item name="taler_gateway" xsi:type="array">
     42                                                                     <item name="component" xsi:type="string">
     43                                                                         GNU_Taler/js/view/payment/taler_gateway
     44                                                                     </item>
     45                                                                     <item name="methods" xsi:type="array">
     46                                                                         <item name="gnu_taler" xsi:type="array">
     47                                                                             <item name="isBillingAddressRequired"
     48                                                                                   xsi:type="boolean">true
     49                                                                             </item>
     50                                                                         </item>
     51                                                                     </item>
     52                                                                 </item>
     53                                                             </item>
     54                                                         </item>
     55                                                     </item>
     56                                                 </item>
     57                                             </item>
     58                                         </item>
     59                                     </item>
     60                                 </item>
     61                             </item>
     62                         </item>
     63                     </item>
     64                 </argument>
     65             </arguments>
     66         </referenceBlock>
     67     </body>
     68 </page>