HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/klarna/module-core/etc/adminhtml/system.xml
<?xml version="1.0"?>
<!--
/**
 * This file is part of the Klarna Core 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.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <section id="payment">
            <group id="klarna_section" sortOrder="6" showInDefault="1" showInWebsite="1" showInStore="0">
                <comment><![CDATA[<div class="klarna-payment-logo"></div><div class="klarna-payment-text">Offer more ways to pay with Klarna. <br/>It's the smooothest way to boost sales and increase your average order value. <br/>You get more customers who buy more and do it more often. And you always get paid in full upfront while your customers pay at a later date.</div>]]></comment>
                <fieldset_css>complex klarna-section</fieldset_css>
                <frontend_model>Klarna\Core\Block\Adminhtml\System\Config\Fieldset\Payment</frontend_model>
                <group id="api" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0"
                       translate="label">
                    <label>API Configuration</label>
                    <field id="onboarding_link" type="note" translate="label" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="0">
                        <frontend_model>Klarna\Kp\Block\Adminhtml\System\Config\Form\Field\Onboarding</frontend_model>
                    </field>
                    <field id="api_version" sortOrder="10" translate="label" type="select" showInDefault="1"
                           showInWebsite="1"
                           showInStore="0">
                        <label>Endpoint</label>
                        <config_path>klarna/api/api_version</config_path>
                        <source_model>Klarna\Core\Model\System\Config\Source\Version</source_model>
                    </field>
                    <field id="merchant_id" sortOrder="20" translate="label" type="text" showInDefault="1"
                           showInWebsite="1"
                           showInStore="0">
                        <label>Klarna API username</label>
                        <comment>Use the API username you downloaded in the Klarna Merchant Portal. Don’t use your email address.</comment>
                        <config_path>klarna/api/merchant_id</config_path>
                    </field>
                    <field id="shared_secret" sortOrder="30" translate="label" type="obscure" showInDefault="1"
                           showInWebsite="1"
                           showInStore="0">
                        <label>Klarna API password</label>
                        <config_path>klarna/api/shared_secret</config_path>
                        <comment>Use the API password you downloaded in the Klarna Merchant Portal.</comment>
                        <backend_model>Magento\Config\Model\Config\Backend\Encrypted</backend_model>
                    </field>
                    <field id="test_mode" sortOrder="40" translate="label" type="select" showInDefault="1"
                           showInWebsite="1"
                           showInStore="0">
                        <label>Mode</label>
                        <config_path>klarna/api/test_mode</config_path>
                        <source_model>Klarna\Core\Model\System\Config\Mode</source_model>
                    </field>
                    <field id="debug" sortOrder="50" translate="label comment" type="select" showInDefault="1"
                           showInWebsite="1"
                           showInStore="0">
                        <label>Logging</label>
                        <config_path>klarna/api/debug</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Enabledisable</source_model>
                        <comment>Should not be enabled in production. Sensitive information is logged.</comment>
                    </field>
                </group>
            </group>
        </section>

    </system>
</config>