<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<data>
    <xpath expr="//group[@id='buttons']" position="inside">
        <button name="stripe_checkout"/>
        <button name="stripe_do_capture"/>
        <button name="stripe_do_pull"/>
    </xpath>
    <xpath expr="//page[@id='payment']" position="after">
        <page id="stripe" string="Stripe" col="6">
            <label name="stripe_charge_id" string="Charge ID:"/>
            <field name="stripe_charge_id" colspan="5"/>

            <label name="stripe_customer" string="Customer:"/>
            <field name="stripe_customer" colspan="5"/>

            <field name="stripe_customer_source" colspan="6" invisible="1"/>
            <label name="stripe_customer_source_selection" string="Source:"/>
            <field name="stripe_customer_source_selection" colspan="5"/>

            <field name="stripe_customer_payment_method" colspan="6" invisible="1"/>
            <label name="stripe_customer_payment_method_selection" string="Payment Method:"/>
            <field name="stripe_customer_payment_method_selection" colspan="5"/>

            <label name="stripe_token" string="Token:"/>
            <field name="stripe_token" colspan="5"/>

            <label name="stripe_payment_intent_id" string="Payment Intent:"/>
            <field name="stripe_payment_intent_id" colspan="5"/>

            <label name="stripe_capture" string="Capture:"/>
            <field name="stripe_capture"/>
            <label name="stripe_capturable" string="Capturable:"/>
            <field name="stripe_capturable"/>
            <label name="stripe_chargeable" string="Chargeable:"/>
            <field name="stripe_chargeable"/>

            <label name="stripe_error_message"/>
            <field name="stripe_error_message"/>
            <label name="stripe_error_code"/>
            <field name="stripe_error_code"/>
            <label name="stripe_error_param"/>
            <field name="stripe_error_param"/>

            <label name="stripe_dispute_status"/>
            <field name="stripe_dispute_status"/>
            <label name="stripe_dispute_reason"/>
            <field name="stripe_dispute_reason"/>

            <field name="stripe_refunds" colspan="6"/>
        </page>
    </xpath>
</data>
