Files
odoo_source/addons/payment_adyen/views/adyen.xml
T
Damien Bouvy 526f27ddac [IMP] payment,payment_*,website_quote,website_sale: new rendering mechanism compatibility for payment providers
merge *ALL* the dicts

The form rendering used to receive a dict for partner information and a dict for tx information and to transmit another dict to the qweb template; now everything is done in a single dict
2015-09-04 16:08:22 +02:00

33 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
<template id="adyen_acquirer_button">
<form t-if="acquirer.adyen_merchant_account" t-att-action="tx_url" method="post" target="_self">
<input type="hidden" name="merchantReference" t-att-value="merchantReference"/>
<input type="hidden" name="paymentAmount" t-att-value="paymentAmount"/>
<input type="hidden" name="currencyCode" t-att-value="currencyCode"/>
<input type="hidden" name="shipBeforeDate" t-att-value="shipBeforeDate"/>
<input type="hidden" name="skinCode" t-att-value="skinCode"/>
<input type="hidden" name="merchantAccount" t-att-value="merchantAccount"/>
<input type="hidden" name="shopperLocale" t-att-value="shopperLocale"/>
<input type="hidden" name="sessionValidity" t-att-value="sessionValidity"/>
<input type="hidden" name="merchantSig" t-att-value="merchantSig"/>
<!-- URLs -->
<input type='hidden' name='resURL'
t-att-value="resURL"/>
<!-- custom -->
<input t-if="merchantReturnData" type='hidden' name='merchantReturnData'
t-att-value="merchantReturnData"/>
<!-- submit -->
<button type="submit" width="100px"
t-att-class="submit_class">
<img t-if="not submit_txt" src="/payment_adyen/static/src/img/adyen_icon.png"/>
<span t-if="submit_txt"><t t-esc="submit_txt"/> <span class="fa fa-long-arrow-right"/></span>
</button>
</form>
</template>
</data>
</openerp>