<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  *
  * This file is part of the Klarna KP module
  *
  * (c) Klarna Bank AB (publ)
  *
  * For the full copyright and license information, please view the NOTICE
  * and LICENSE files that were distributed with this source code.
  */
-->
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
    <section name="AdminConfigPaymentSection">
        <element name="OtherPaymentMethods"
                 type="text"
                 selector="*[id^='payment_'][id$='_other_payment_methods-head']"/>
        <element name="ConfigureKlarnaButton"
                 type="button"
                 selector="button[id^='payment_'][id$='_klarna_section-head']"/>
        <element name="KlarnaApiHeader"
                 type="text"
                 selector="*[id^='payment_'][id$='_klarna_section_api-head']"/>
        <element name="KlarnaApi"
                 type="text"
                 selector="*[id^='payment_'][id$='_klarna_section_api_api_version']"/>
        <element name="KlarnaApiVersion"
                 type="select"
                 selector="*[id^='payment_'][id$='_klarna_section_api_api_version']"/>
        <element name="KlarnaMerchantId"
                 type="text"
                 selector="*[id^='payment_'][id$='_klarna_section_api_merchant_id']"/>
        <element name="KlarnaSharedSecret"
                 type="text"
                 selector="*[id^='payment_'][id$='_klarna_section_api_shared_secret']"/>
        <element name="KlarnaMode"
                 type="select"
                 selector="*[id^='payment_'][id$='_klarna_section_api_test_mode']"/>
        <element name="KlarnaKpSection"
                 type="text"
                 selector="*[id^='payment_'][id$='_klarna_section_klarna_kp_required-head']"/>
        <element name="KlarnaKpEnabled"
                 type="select"
                 selector="*[id^='payment_'][id$='_klarna_section_klarna_kp_required_active']"/>
    </section>
</sections>
