summaryrefslogtreecommitdiff
path: root/addons/payment_alipay/views/payment_alipay_templates.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/payment_alipay/views/payment_alipay_templates.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/payment_alipay/views/payment_alipay_templates.xml')
-rw-r--r--addons/payment_alipay/views/payment_alipay_templates.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/addons/payment_alipay/views/payment_alipay_templates.xml b/addons/payment_alipay/views/payment_alipay_templates.xml
new file mode 100644
index 00000000..0f672861
--- /dev/null
+++ b/addons/payment_alipay/views/payment_alipay_templates.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <template id="alipay_form">
+ <div>
+ <input type="hidden" name="data_set" t-att-data-action-url="tx_url" data-remove-me=""/>
+ <input type="hidden" name="_input_charset" t-att-value="_input_charset"/>
+ <input t-if="service == 'create_forex_trade'" type="hidden" name="currency" t-att-value="currency"/>
+ <input type="hidden" name="notify_url" t-att-value="notify_url"/>
+ <input type="hidden" name="out_trade_no" t-att-value="out_trade_no"/>
+ <input type="hidden" name="partner" t-att-value="partner"/>
+ <input t-if="product_code" type="hidden" name="product_code" t-att-value="product_code"/>
+ <input type="hidden" name="return_url" t-att-value="return_url"/>
+ <input type="hidden" name="service" t-att-value="service"/>
+ <input type="hidden" name="sign" t-att-value="sign"/>
+ <input type="hidden" name="subject" t-att-value="subject"/>
+ <input type="hidden" name="total_fee" t-att-value="total_fee"/>
+ <input type="hidden" name="sign_type" t-att-value="sign_type"/>
+ <input t-if="payment_type" type="hidden" name="payment_type" t-att-value="payment_type"/>
+ <input t-if="seller_email" type="hidden" name="seller_email" t-att-value="seller_email"/>
+ </div>
+ </template>
+</odoo>