Being able to first authorize then capture a payment has several advantages: - Confirm a quotation when the payment is authorized and capture it when the order is shipped. - Review orders before capturing the payment. - Prevent credit card fees in the case of a refund This commit implements this feature for the payment acquirer Adyen. task-2507304 closes odoo/odoo#70591 Related: odoo/upgrade#3088 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
21 lines
763 B
XML
21 lines
763 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo noupdate="1">
|
|
|
|
<record id="payment.payment_acquirer_adyen" model="payment.acquirer">
|
|
<field name="provider">adyen</field>
|
|
<field name="inline_form_view_id" ref="inline_form"/>
|
|
<field name="support_authorization">True</field>
|
|
<field name="support_fees_computation">False</field>
|
|
<field name="support_refund">partial</field>
|
|
<field name="support_tokenization">True</field>
|
|
<field name="allow_tokenization">True</field>
|
|
</record>
|
|
|
|
<record id="payment_method_adyen" model="account.payment.method">
|
|
<field name="name">Adyen</field>
|
|
<field name="code">adyen</field>
|
|
<field name="payment_type">inbound</field>
|
|
</record>
|
|
|
|
</odoo>
|