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.
 
 
 
 
 

29 lines
2.0 KiB

<openerp>
<data>
<template id="wepay_button" name="Wepay Payment Button">
<form t-if="acquirer.wepay_account_id and acquirer.wepay_merchant_id" action="/wepay/checkout" method="post" target="_self">
<input type="hidden" name="acquirer" t-att-value="acquirer.id"/>
<input type="hidden" name="partner_name" t-att-value="partner_name"/>
<input type="hidden" name="reference" t-att-value="reference"/>
<input type="hidden" name="billing_partner_id" t-att-value="billing_partner_id"/>
<input type="hidden" name="billing_partner_name" t-att-value="billing_partner_name"/>
<input type="hidden" name="billing_partner_last_name" t-att-value="billing_partner_last_name"/>
<input type="hidden" name="billing_partner_address" t-att-value="billing_partner_address"/>
<input type="hidden" name="billing_partner_zip" t-att-value="billing_partner_zip"/>
<input type="hidden" name="street" t-att-value="street"/>
<input type="hidden" name="street2" t-att-value="street2"/>
<input type="hidden" name="currency_id" t-att-value="currency_id"/>
<input type="hidden" name="billing_partner_country_id" t-att-value="billing_partner_country_id"/>
<input type="hidden" name="billing_partner_city" t-att-value="billing_partner_city"/>
<input type="hidden" name="custom" t-att-value="custom"/>
<input type="hidden" name="partner_email" t-att-value="partner_email"/>
<input type="hidden" name="amount" t-att-value="amount"/>
<button type="submit" width="100px"
t-att-class="submit_class">
<img t-if="not submit_txt" src="/payment_wepay_gateway/static/description/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>