summaryrefslogtreecommitdiff
path: root/addons/payment/data
diff options
context:
space:
mode:
Diffstat (limited to 'addons/payment/data')
-rw-r--r--addons/payment/data/payment_acquirer_data.xml65
-rw-r--r--addons/payment/data/payment_option_data.xml57
2 files changed, 121 insertions, 1 deletions
diff --git a/addons/payment/data/payment_acquirer_data.xml b/addons/payment/data/payment_acquirer_data.xml
index 5908c6e5366..420afecbb35 100644
--- a/addons/payment/data/payment_acquirer_data.xml
+++ b/addons/payment/data/payment_acquirer_data.xml
@@ -32,6 +32,12 @@
<li><i class="fa fa-check"/>Payment Status Tracking</li>
</ul>
</field>
+ <!-- https://www.buckaroo-payments.com/products/payment-methods/ -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_bancontact"),
+ ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_visa"),
+ ref("payment.payment_option_cc_american_express")])]'/>
</record>
<record id="payment_acquirer_ogone" model="payment.acquirer">
@@ -51,6 +57,11 @@
<li><i class="fa fa-check"/>Save Cards</li>
</ul>
</field>
+ <!-- https://payment-services.ingenico.com/~/media/files/130806_product_sheet_ingenico_collect_en.ashx?la=en -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_bancontact"),
+ ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_visa")])]'/>
</record>
<record id="payment_acquirer_adyen" model="payment.acquirer">
@@ -67,6 +78,15 @@
<li><i class="fa fa-check"/>Payment Status Tracking</li>
</ul>
</field>
+ <!-- https://www.adyen.com/payment-methods -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_bancontact"),
+ ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_visa"),
+ ref("payment.payment_option_cc_discover"),
+ ref("payment.payment_option_cc_diners_club_intl"),
+ ref("payment.payment_option_cc_jcb"),
+ ref("payment.payment_option_cc_unionpay")])]'/>
</record>
<record id="payment_acquirer_authorize" model="payment.acquirer">
@@ -87,6 +107,13 @@
<li><i class="fa fa-check"/>Manual Capture</li>
</ul>
</field>
+ <!-- https://www.authorize.net/solutions/merchantsolutions/onlinemerchantaccount/ -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_discover"),
+ ref("payment.payment_option_cc_diners_club_intl"),
+ ref("payment.payment_option_cc_jcb"),
+ ref("payment.payment_option_cc_visa")])]'/>
</record>
<record id="payment_acquirer_transfer" model="payment.acquirer">
@@ -117,6 +144,16 @@
<li><i class="fa fa-check"/>Payment Status Tracking</li>
</ul>
</field>
+ <!-- http://sips.worldline.com/en-us/home/features/payment-types-and-acquirers.html -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_discover"),
+ ref("payment.payment_option_cc_diners_club_intl"),
+ ref("payment.payment_option_cc_jcb"),
+ ref("payment.payment_option_cc_american_express"),
+ ref("payment.payment_option_cc_bancontact"),
+ ref("payment.payment_option_cc_unionpay"),
+ ref("payment.payment_option_cc_visa")])]'/>
</record>
<record id="payment_acquirer_paypal" model="payment.acquirer">
@@ -134,6 +171,15 @@
<li><i class="fa fa-check"/>Payment Status Tracking</li>
</ul>
</field>
+ <!-- https://www.paypal.com/us/selfhelp/article/Which-credit-cards-can-I-accept-with-PayPal-Merchant-Services-FAQ1525#business -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_discover"),
+ ref("payment.payment_option_cc_diners_club_intl"),
+ ref("payment.payment_option_cc_jcb"),
+ ref("payment.payment_option_cc_american_express"),
+ ref("payment.payment_option_cc_unionpay"),
+ ref("payment.payment_option_cc_visa")])]'/>
</record>
<record id="payment_acquirer_stripe" model="payment.acquirer">
@@ -150,7 +196,17 @@
<li><i class="fa fa-check"/>Payment Status Tracking</li>
</ul>
</field>
-
+ <!--
+ https://stripe.com/payments/payment-methods-guide
+ https://support.goteamup.com/hc/en-us/articles/115002089349-Which-cards-and-payment-types-can-I-accept-with-Stripe-
+ -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_discover"),
+ ref("payment.payment_option_cc_diners_club_intl"),
+ ref("payment.payment_option_cc_jcb"),
+ ref("payment.payment_option_cc_american_express"),
+ ref("payment.payment_option_cc_visa")])]'/>
</record>
<record id="payment_acquirer_custom" model="payment.acquirer">
@@ -182,6 +238,13 @@
<li><i class="fa fa-check"/>Payment Status Tracking</li>
</ul>
</field>
+ <!-- https://www.payumoney.com/selfcare.html?userType=seller
+ > Banks & Cards > What options do you have in the Credit Card payment?
+ -->
+ <field name="payment_option_ids" eval='[(6, 0, [ref("payment.payment_option_cc_maestro"),
+ ref("payment.payment_option_cc_mastercard"),
+ ref("payment.payment_option_cc_american_express"),
+ ref("payment.payment_option_cc_visa")])]'/>
</record>
</odoo>
diff --git a/addons/payment/data/payment_option_data.xml b/addons/payment/data/payment_option_data.xml
new file mode 100644
index 00000000000..49d351ddc83
--- /dev/null
+++ b/addons/payment/data/payment_option_data.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <record id="payment_option_cc_visa" model="payment.option">
+ <field name="name">VISA</field>
+ <field name="image" type="base64" file="payment/static/img/visa.png"/>
+ </record>
+
+ <record id="payment_option_cc_american_express" model="payment.option">
+ <field name="name">American Express</field>
+ <field name="image" type="base64" file="payment/static/img/american_express.png"/>
+ </record>
+
+ <record id="payment_option_cc_cirrus" model="payment.option">
+ <field name="name">Cirrus</field>
+ <field name="image" type="base64" file="payment/static/img/cirrus.png"/>
+ </record>
+
+ <record id="payment_option_cc_diners_club_intl" model="payment.option">
+ <field name="name">Diners Club International</field>
+ <field name="image" type="base64" file="payment/static/img/diners_club_intl.png"/>
+ </record>
+
+ <record id="payment_option_cc_diners_club_intl" model="payment.option">
+ <field name="name">Diners Club International</field>
+ <field name="image" type="base64" file="payment/static/img/diners_club_intl.png"/>
+ </record>
+
+ <record id="payment_option_cc_discover" model="payment.option">
+ <field name="name">Discover</field>
+ <field name="image" type="base64" file="payment/static/img/discover.png"/>
+ </record>
+
+ <record id="payment_option_cc_jcb" model="payment.option">
+ <field name="name">JCB</field>
+ <field name="image" type="base64" file="payment/static/img/jcb.png"/>
+ </record>
+
+ <record id="payment_option_cc_maestro" model="payment.option">
+ <field name="name">Maestro</field>
+ <field name="image" type="base64" file="payment/static/img/maestro.png"/>
+ </record>
+
+ <record id="payment_option_cc_mastercard" model="payment.option">
+ <field name="name">MasterCard</field>
+ <field name="image" type="base64" file="payment/static/img/mastercard.png"/>
+ </record>
+
+ <record id="payment_option_cc_unionpay" model="payment.option">
+ <field name="name">UnionPay</field>
+ <field name="image" type="base64" file="payment/static/img/unionpay.png"/>
+ </record>
+
+ <record id="payment_option_cc_bancontact" model="payment.option">
+ <field name="name">Bancontact</field>
+ <field name="image" type="base64" file="payment/static/img/bancontact.png"/>
+ </record>
+</odoo> \ No newline at end of file