You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
1.2 KiB
20 lines
1.2 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- This template defines a form that contains hidden input fields used for redirecting to the payment provider.-->
|
|
<template id="redirect_form">
|
|
<form t-att-action="api_url" method="post">
|
|
<input type="hidden" name="profile_key" t-att-value="profile_key"/>
|
|
<input type="hidden" name="tran_type" t-att-value="tran_type"/>
|
|
<input type="hidden" name="tran_class" t-att-value="tran_class"/>
|
|
<input type="hidden" name="cart_description" t-att-value="cart_description"/>
|
|
<input type="hidden" name="cart_id" t-att-value="cart_id"/>
|
|
<input type="hidden" name="cart_currency" t-att-value="cart_currency"/>
|
|
<input type="hidden" name="cart_amount" t-att-value="cart_amount"/>
|
|
<input type="hidden" name="return" t-att-value="return"/>
|
|
<input type="hidden" name="callback" t-att-value="callback"/>
|
|
<input type="hidden" name="redirect_url" t-att-value="redirect_url"/>
|
|
<input type="hidden" name="csrf_token"
|
|
t-att-value="request.csrf_token()"/>
|
|
</form>
|
|
</template>
|
|
</odoo>
|
|
|