<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <section id="yeboyebo_mercadopago" translate="label" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
            <class>separator-top</class>
            <label>Mercado Pago (Yeboyebo)</label>
            <tab>yeboyebo</tab>
            <resource>Yeboyebo_MercadoPago::configuration</resource>
            <group id="checkout_pro_cleanup" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Checkout Pro - Pending order cleanup</label>
                <field id="stale_order_minutes" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Cancel unpaid orders after (minutes)</label>
                    <comment>Checkout Pro orders left pending payment past this many minutes are automatically cancelled and their reservation released. Set to 0 to disable.</comment>
                    <validate>validate-zero-or-greater validate-digits</validate>
                </field>
            </group>
        </section>
    </system>
</config>
