The name "Payment Acquirer Test" of the acquirer bundled with the module `payment_test` is confusing. It is actually the only acquirer that doesn't connect to a test API, and its purpose is not to make test transactions but to showcase the integration of other apps (Accounting, Sales, eCommerce, Subscriptions) with demo payments. Hence, the module is renamed to `payment_demo` along with its data and technical keys to better make the distinction between acquirers' test environment and demo payments. task-2853481 closes odoo/odoo#99397 Related: odoo/upgrade#3846 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
253 lines
12 KiB
XML
253 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo noupdate="1">
|
|
|
|
<record id="payment_acquirer_adyen" model="payment.acquirer">
|
|
<field name="name">Adyen</field>
|
|
<field name="display_as">Credit Card (powered by Adyen)</field>
|
|
<field name="image_128" type="base64" file="payment_adyen/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_adyen"/>
|
|
<!-- https://www.adyen.com/payment-methods -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_bancontact'),
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
ref('payment.payment_icon_cc_discover'),
|
|
ref('payment.payment_icon_cc_diners_club_intl'),
|
|
ref('payment.payment_icon_cc_jcb'),
|
|
ref('payment.payment_icon_cc_unionpay'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_aps" model="payment.acquirer">
|
|
<field name="name">Amazon Payment Services</field>
|
|
<field name="display_as">Amazon Payment Services</field>
|
|
<field name="image_128" type="base64" file="payment_aps/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_aps"/>
|
|
<!-- https://paymentservices.amazon.com/docs/EN/24.html -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
ref('payment.payment_icon_sadad'),
|
|
ref('payment.payment_icon_mada'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_asiapay" model="payment.acquirer">
|
|
<field name="name">Asiapay</field>
|
|
<field name="display_as">Credit Card (powered by Asiapay)</field>
|
|
<field name="image_128" type="base64" file="payment_asiapay/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_asiapay"/>
|
|
<!-- See https://www.asiapay.com/payment.html#option -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
ref('payment.payment_icon_cc_unionpay'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_authorize" model="payment.acquirer">
|
|
<field name="name">Authorize.net</field>
|
|
<field name="display_as">Credit Card (powered by Authorize)</field>
|
|
<field name="image_128"
|
|
type="base64"
|
|
file="payment_authorize/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_authorize"/>
|
|
<!-- https://www.authorize.net/solutions/merchantsolutions/onlinemerchantaccount/ -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_discover'),
|
|
ref('payment.payment_icon_cc_diners_club_intl'),
|
|
ref('payment.payment_icon_cc_jcb'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_buckaroo" model="payment.acquirer">
|
|
<field name="name">Buckaroo</field>
|
|
<field name="display_as">Credit Card (powered by Buckaroo)</field>
|
|
<field name="image_128"
|
|
type="base64"
|
|
file="payment_buckaroo/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_buckaroo"/>
|
|
<!-- https://www.buckaroo-payments.com/products/payment-methods/ -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_bancontact'),
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_demo" model="payment.acquirer">
|
|
<field name="name">Demo</field>
|
|
<field name="sequence">40</field>
|
|
<field name="image_128" type="base64" file="payment_demo/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_demo"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_flutterwave" model="payment.acquirer">
|
|
<field name="name">Flutterwave</field>
|
|
<field name="image_128"
|
|
type="base64"
|
|
file="payment_flutterwave/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_flutterwave"/>
|
|
<!-- https://developer.flutterwave.com/docs/collecting-payments/payment-methods/ -->
|
|
<field name="payment_icon_ids" eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_visa'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
ref('payment.payment_icon_mpesa'),
|
|
ref('payment.payment_icon_airtel_money'),
|
|
ref('payment.payment_icon_mtn_mobile_money'),
|
|
ref('payment.payment_icon_barter_by_flutterwave'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_mercado_pago" model="payment.acquirer">
|
|
<field name="name">Mercado Pago</field>
|
|
<field name="display_as">Credit Card (powered by Mercado Pago)</field>
|
|
<field name="image_128"
|
|
type="base64"
|
|
file="payment_mercado_pago/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_mercado_pago"/>
|
|
|
|
<!-- Payment methods must be fetched from the API. See
|
|
https://www.mercadopago.com.ar/developers/en/reference/payment_methods/_payment_methods/
|
|
-->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
ref('payment.payment_icon_bbva_bancomer'),
|
|
ref('payment.payment_icon_citibanamex')
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_mollie" model="payment.acquirer">
|
|
<field name="name">Mollie</field>
|
|
<field name="image_128" type="base64" file="payment_mollie/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_mollie"/>
|
|
<!-- https://www.mollie.com/en/payments -->
|
|
<field name="payment_icon_ids" eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_visa'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_bancontact'),
|
|
ref('payment.payment_icon_cc_eps'),
|
|
ref('payment.payment_icon_cc_giropay'),
|
|
ref('payment.payment_icon_cc_p24'),
|
|
ref('payment.payment_icon_cc_ideal'),
|
|
ref('payment.payment_icon_paypal'),
|
|
ref('payment.payment_icon_apple_pay'),
|
|
ref('payment.payment_icon_sepa'),
|
|
ref('payment.payment_icon_kbc')
|
|
])]"/>
|
|
|
|
</record>
|
|
|
|
<record id="payment_acquirer_paypal" model="payment.acquirer">
|
|
<field name="name">PayPal</field>
|
|
<field name="image_128" type="base64" file="payment_paypal/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_paypal"/>
|
|
<!-- https://www.paypal.com/us/selfhelp/article/Which-credit-cards-can-I-accept-with-PayPal-Merchant-Services-FAQ1525#business -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_discover'),
|
|
ref('payment.payment_icon_cc_diners_club_intl'),
|
|
ref('payment.payment_icon_cc_jcb'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
ref('payment.payment_icon_cc_unionpay'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_razorpay" model="payment.acquirer">
|
|
<field name="name">Razorpay</field>
|
|
<field name="display_as">Credit & Debit Card, UPI (Powered by Razorpay)</field>
|
|
<field name="image_128" type="base64" file="payment_razorpay/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_razorpay"/>
|
|
<!-- https://razorpay.com/docs/payments/payment-methods/#supported-payment-methods -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_rupay'),
|
|
ref('payment.payment_icon_cc_diners_club_intl'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
ref('payment.payment_icon_cc_visa')
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_sepa_direct_debit" model="payment.acquirer">
|
|
<field name="name">SEPA Direct Debit</field>
|
|
<field name="sequence">20</field>
|
|
<field name="image_128"
|
|
type="base64"
|
|
file="base/static/img/icons/payment_sepa_direct_debit.png"/>
|
|
<field name="module_id" ref="base.module_payment_sepa_direct_debit"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_sips" model="payment.acquirer">
|
|
<field name="name">Sips</field>
|
|
<field name="display_as">Credit Card (powered by Sips)</field>
|
|
<field name="image_128" type="base64" file="payment_sips/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_sips"/>
|
|
<!-- See http://sips.worldline.com/en-us/home/features/payment-types-and-acquirers.html -->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_discover'),
|
|
ref('payment.payment_icon_cc_diners_club_intl'),
|
|
ref('payment.payment_icon_cc_jcb'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
ref('payment.payment_icon_cc_bancontact'),
|
|
ref('payment.payment_icon_cc_unionpay'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_stripe" model="payment.acquirer">
|
|
<field name="name">Stripe</field>
|
|
<field name="display_as">Credit & Debit Card</field>
|
|
<field name="image_128" type="base64" file="payment_stripe/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_stripe"/>
|
|
<!--
|
|
See https://stripe.com/payments/payment-methods-guide
|
|
See https://support.goteamup.com/hc/en-us/articles/115002089349-Which-cards-and-payment-types-can-I-accept-with-Stripe-
|
|
-->
|
|
<field name="payment_icon_ids"
|
|
eval="[(6, 0, [
|
|
ref('payment.payment_icon_cc_maestro'),
|
|
ref('payment.payment_icon_cc_mastercard'),
|
|
ref('payment.payment_icon_cc_discover'),
|
|
ref('payment.payment_icon_cc_diners_club_intl'),
|
|
ref('payment.payment_icon_cc_jcb'),
|
|
ref('payment.payment_icon_cc_american_express'),
|
|
ref('payment.payment_icon_cc_visa'),
|
|
])]"/>
|
|
</record>
|
|
|
|
<record id="payment_acquirer_transfer" model="payment.acquirer">
|
|
<field name="name">Wire Transfer</field>
|
|
<field name="sequence">30</field>
|
|
<field name="image_128"
|
|
type="base64"
|
|
file="payment_transfer/static/description/icon.png"/>
|
|
<field name="module_id" ref="base.module_payment_transfer"/>
|
|
</record>
|
|
|
|
</odoo>
|