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-kp/etc/adminhtml/system.xml
<?xml version="1.0"?>
<!--
/**
 * 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.
 */
-->
<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">
                <group id="klarna_kp_required" translate="label" sortOrder="20" showInDefault="1"
                       showInWebsite="1" showInStore="0">
                    <label>Klarna Payments</label>
                    <attribute type="expanded">1</attribute>
                    <frontend_model>Magento\Config\Block\System\Config\Form\Fieldset</frontend_model>
                    <field id="active" translate="label comment" type="select" showInDefault="1" showInWebsite="1"
                           showInStore="0">
                        <label>Enable</label>
                        <config_path>payment/klarna_kp/active</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    </field>
                    <field id="allowspecific" translate="label comment" type="select" showInDefault="1"
                           showInWebsite="1" showInStore="0">
                        <label>Allowed Countries</label>
                        <config_path>payment/klarna_kp/allowspecific</config_path>
                        <source_model>Magento\Payment\Model\Config\Source\Allspecificcountries</source_model>
                        <comment>If set to specific, guest customers will not have a billing country and may not be able to checkout.</comment>
                    </field>
                    <field id="specificcountry" translate="label" type="multiselect" showInDefault="1"
                           showInWebsite="1"
                           showInStore="0">
                        <label>Payment from Specific countries</label>
                        <config_path>payment/klarna_kp/specificcountry</config_path>
                        <source_model>Magento\Directory\Model\Config\Source\Country</source_model>
                        <depends>
                            <field id="allowspecific">1</field>
                        </depends>
                    </field>
                    <field id="enable_b2b" translate="label comment" type="select" showInDefault="1" showInWebsite="1" showInStore="0">
                        <label>Enable B2B</label>
                        <config_path>payment/klarna_kp/enable_b2b</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <comment>Allow B2B payments (Not available in all markets. Must be setup in your contract with Klarna)</comment>
                    </field>
                    <field id="data_sharing" translate="label comment" type="select" showInDefault="1" showInWebsite="1"
                           showInStore="0">
                        <label>Enable Data sharing</label>
                        <config_path>payment/klarna_kp/data_sharing</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <comment>Allow customer data to be shared with Klarna before customer places the order. (Enabling this option has an effect in the US only)</comment>
                    </field>
                    <field id="data_sharing_on_load" translate="label comment" type="select" showInDefault="1" showInWebsite="1"
                           showInStore="0">
                        <label>Enable Data sharing on load</label>
                        <config_path>payment/klarna_kp/data_sharing_onload</config_path>
                        <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                        <comment>If this is disabled, it will mean that Klarna will not receive the consumers billing and shipping
                            addresses until "authorize" is called. If there are any errors with the address, the authorization will fail and the user
                            will be instructed to return to a previous step to fix the issue.</comment>
                    </field>
                    <field id="sort_order" translate="label" type="text" showInDefault="1" showInWebsite="1"
                           showInStore="0">
                        <label>Sort Order</label>
                        <config_path>payment/klarna_kp/sort_order</config_path>
                    </field>
                    <group id="klarna_kp_design" type="text" sortOrder="101" showInDefault="1" showInWebsite="1"
                           showInStore="0"
                           translate="label">
                        <label>Design</label>
                        <field id="color_details" translate="label comment" type="text" showInDefault="1" showInWebsite="1"
                               showInStore="0">
                            <label>Details color</label>
                            <config_path>checkout/klarna_kp_design/color_details</config_path>
                            <comment>Example: #0072CC</comment>
                        </field>
                        <field id="color_border" translate="label comment" type="text" showInDefault="1" showInWebsite="1"
                               showInStore="0">
                            <label>Border color</label>
                            <config_path>checkout/klarna_kp_design/color_border</config_path>
                            <comment>Example: #0072CC</comment>
                        </field>
                        <field id="color_border_selected" translate="label comment" type="text" showInDefault="1"
                               showInWebsite="1"
                               showInStore="0">
                            <label>Selected border color</label>
                            <config_path>checkout/klarna_kp_design/color_border_selected</config_path>
                            <comment>Example: #0072CC</comment>
                        </field>
                        <field id="color_text" translate="label comment" type="text" showInDefault="1" showInWebsite="1"
                               showInStore="0">
                            <label>Text color</label>
                            <config_path>checkout/klarna_kp_design/color_text</config_path>
                            <comment>Example: #0072CC</comment>
                        </field>
                        <field id="radius_border" translate="label comment" type="text" showInDefault="1" showInWebsite="1"
                               showInStore="0">
                            <label>Border Radius</label>
                            <config_path>checkout/klarna_kp_design/color_radius_border</config_path>
                            <comment>Example: 5px</comment>
                        </field>
                    </group>
                </group>
            </group>
        </section>
    </system>
</config>