This commit introduces the Alipay payment provider, a popular acquirer in the Chinese market. There are 2 possible ways to use this acquirer: - express checkout mode (only available for merchants located in CN) - standard checkout mode (availabe for foreign merchants) Note that this provider does not support server-to-server payments, tokenization or any other bells and whistles besides fees. There are no specific behaviours related to this acquirer, it behaves like most 'form based' payment acquirers with a form submission, s2s notification from the provider as well as redirect in case the s2s did not reach the server in time. closes odoo/odoo#21855 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
19 lines
781 B
XML
19 lines
781 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo noupdate="1">
|
|
<record id="payment.payment_acquirer_alipay" model="payment.acquirer">
|
|
<field name="name">Alipay</field>
|
|
<field name="provider">alipay</field>
|
|
<field name="company_id" ref="base.main_company"/>
|
|
<field name="view_template_id" ref="alipay_form"/>
|
|
<field name="environment">test</field>
|
|
<field name="pre_msg" type="html">
|
|
<p>
|
|
You will be redirected to the Alipay website after clicking on the payment button.
|
|
</p>
|
|
</field>
|
|
<field name="alipay_merchant_partner_id">dummy</field>
|
|
<field name="alipay_md5_signature_key">dummy</field>
|
|
<field name="alipay_seller_email">dummy</field>
|
|
</record>
|
|
</odoo>
|