- Added the support of form payment. - Fixed payment form's errors not being displayed. - Fixed a crash when paying on e-commerce with a saved token. (dev commit, need to clean the code)
20 lines
964 B
XML
20 lines
964 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
<record id="payment.payment_acquirer_payu" model="payment.acquirer">
|
|
<field name="name">PayUmoney</field>
|
|
<field name="image" type="base64" file="payment_payumoney/static/src/img/payumoney_icon.png"/>
|
|
<field name="provider">payumoney</field>
|
|
<field name="company_id" ref="base.main_company"/>
|
|
<!-- <field name="view_template_id" ref="payumoney_acquirer_button"/> -->
|
|
<field name="view_template_id" ref="payumoney_form"/>
|
|
<field name="environment">test</field>
|
|
<field name="pre_msg"><![CDATA[
|
|
<p>You will be redirected to the PayUmoney website after clicking on the payment button.</p>]]>
|
|
</field>
|
|
<field name="payumoney_merchant_key">dummy</field>
|
|
<field name="payumoney_merchant_salt">dummy</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|