<?xml version="1.0"?>
<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
    <group id="invoice" translate="label" type="text" sortOrder="16" showInDefault="1" showInWebsite="1" showInStore="1">
        <label>Stripe Invoicing</label>
        <comment>Available in the admin area when creating new orders, allows you to email an invoice to the customer via Stripe. A link in the email brings the customer to a Stripe-hosted payment page.</comment>
        <field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Enabled</label>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <config_path>payment/stripe_payments_invoice/active</config_path>
        </field>

        <field id="pending_payment_order_lifetime" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Pending Payment Order Lifetime (days)</label>
            <comment><![CDATA[The time in days spent by an order in Pending Payment state until it is canceled.]]></comment>
            <frontend_class>validate-number</frontend_class>
            <config_path>payment/stripe_payments_invoice/pending_payment_order_lifetime</config_path>
        </field>

    </group>
</include>
