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.
23 lines
1.1 KiB
23 lines
1.1 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Payment Redirect Form-->
|
|
<template id="redirect_form">
|
|
<form t-att-action="api_url" method="post">
|
|
<input type="hidden" name="csrf_token"
|
|
t-att-value="request.csrf_token()"/>
|
|
<input type="hidden" name="headers" t-att-value="headers"/>
|
|
<input type="hidden" name="data" t-att-value="data"/>
|
|
<input type="hidden" name="CustomerName"
|
|
t-att-value="CustomerName"/>
|
|
<input type="hidden" name="InvoiceValue"
|
|
t-att-value="InvoiceValue"/>
|
|
<input type="hidden" name="DisplayCurrencyIso"
|
|
t-att-value="DisplayCurrencyIso"/>
|
|
<input type="hidden" name="CustomerReference"
|
|
t-att-value="CustomerReference"/>
|
|
<input type="hidden" name="CallBackUrl" t-att-value="CallBackUrl"/>
|
|
<input type="hidden" name="ErrorUrl" t-att-value="ErrorUrl"/>
|
|
<input t-if="payment_type" type="hidden" name="payment_type" t-att-value="payment_type"/>
|
|
</form>
|
|
</template>
|
|
</odoo>
|
|
|