We display Stripe token and/or customer and we use the Stripe token as record name for customer who has one. issue6617 review37541002
32 lines
1.3 KiB
XML
32 lines
1.3 KiB
XML
<?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 string="Stripe Checkout" name="stripe_checkout"/>
|
|
<button string="Stripe Capture" name="stripe_capture_"/>
|
|
</xpath>
|
|
<xpath expr="//field[@name='date']" position="after">
|
|
<newline/>
|
|
<label name="stripe_customer"/>
|
|
<field name="stripe_customer" colspan="3"/>
|
|
<label name="stripe_token"/>
|
|
<field name="stripe_token" colspan="3"/>
|
|
<label name="stripe_capture"/>
|
|
<field name="stripe_capture"/>
|
|
</xpath>
|
|
<xpath expr="/form" position="inside">
|
|
<field name="stripe_checkout_needed" invisible="1" colspan="4"/>
|
|
<field name="stripe_capture_needed" invisible="1" colspan="4"/>
|
|
</xpath>
|
|
<xpath expr="//field[@name='description']" position="after">
|
|
<label name="stripe_error_message"/>
|
|
<field name="stripe_error_message"/>
|
|
<newline/>
|
|
<label name="stripe_error_code"/>
|
|
<field name="stripe_error_code"/>
|
|
<label name="stripe_error_param"/>
|
|
<field name="stripe_error_param"/>
|
|
</xpath>
|
|
</data>
|