2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<record id="acquirer_form_authorize" model="ir.ui.view">
|
|
|
|
<field name="name">acquirer.form.authorize</field>
|
|
|
|
<field name="model">payment.acquirer</field>
|
|
|
|
<field name="inherit_id" ref="payment.acquirer_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr='//group[@name="acquirer"]' position='after'>
|
|
|
|
<group attrs="{'invisible': [('provider', '!=', 'authorize')]}">
|
|
|
|
<field name="authorize_login"/>
|
|
|
|
<field name="authorize_transaction_key" password="True"/>
|
2018-10-15 11:59:04 +02:00
|
|
|
<a colspan="2" href="https://userdoc.flectrahq.com/ecommerce/shopper_experience/authorize.html" target="_blank">How to get paid with Authorize.Net</a>
|
2018-01-16 06:58:15 +01:00
|
|
|
</group>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="token_form_authorize_net" model="ir.ui.view">
|
|
|
|
<field name='name'>payment.token.form</field>
|
|
|
|
<field name='model'>payment.token</field>
|
|
|
|
<field name="inherit_id" ref="payment.payment_token_form_view"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr='//field[@name="acquirer_ref"]' position='after'>
|
|
|
|
<field name="authorize_profile" attrs="{'invisible':['|', ('provider', '!=', 'authorize'), ('save_token', '=', 'none')]}"/>
|
|
|
|
<field name="provider" invisible='1'/>
|
|
|
|
<field name="save_token" invisible='1'/>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|