This commits drops the direct payment flow supported by the SetupIntent API in favor of the payment with redirection flow, supported by the Checkout API only. See the merge commit for more details. task-2333040 Co-authored-by: Antoine Vandevenne <anv@odoo.com>
20 lines
939 B
XML
20 lines
939 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="payment_acquirer_form" model="ir.ui.view">
|
|
<field name="name">Stripe Acquirer Form</field>
|
|
<field name="model">payment.acquirer</field>
|
|
<field name="inherit_id" ref="payment.payment_acquirer_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//group[@name='acquirer']" position="inside">
|
|
<group attrs="{'invisible': [('provider', '!=', 'stripe')]}">
|
|
<field name="stripe_publishable_key" attrs="{'required':[('provider', '=', 'stripe'), ('state', '!=', 'disabled')]}" password="True"/>
|
|
<field name="stripe_secret_key" attrs="{'required':[('provider', '=', 'stripe'), ('state', '!=', 'disabled')]}" password="True"/>
|
|
<field name="stripe_webhook_secret" password="True"/>
|
|
</group>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|