payment_alipay_templates.xml 1.3 KB

123456789101112131415161718192021222324
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="redirect_form">
  4. <form t-att-action="api_url" method="post">
  5. <input type="hidden" name="_input_charset" t-att-value="_input_charset"/>
  6. <input t-if="service == 'create_forex_trade'" type="hidden" name="currency" t-att-value="currency"/>
  7. <input type="hidden" name="notify_url" t-att-value="notify_url"/>
  8. <input type="hidden" name="out_trade_no" t-att-value="out_trade_no"/>
  9. <input type="hidden" name="partner" t-att-value="partner"/>
  10. <input t-if="product_code" type="hidden" name="product_code" t-att-value="product_code"/>
  11. <input type="hidden" name="return_url" t-att-value="return_url"/>
  12. <input type="hidden" name="service" t-att-value="service"/>
  13. <input type="hidden" name="sign" t-att-value="sign"/>
  14. <input type="hidden" name="subject" t-att-value="subject"/>
  15. <input type="hidden" name="total_fee" t-att-value="total_fee"/>
  16. <input type="hidden" name="sign_type" t-att-value="sign_type"/>
  17. <input t-if="payment_type" type="hidden" name="payment_type" t-att-value="payment_type"/>
  18. <input t-if="seller_email" type="hidden" name="seller_email" t-att-value="seller_email"/>
  19. </form>
  20. </template>
  21. </odoo>