63 lines
3.8 KiB
XML
63 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
<data>
|
|
<template id="ogone_form">
|
|
<input type="hidden" name="data_set" t-att-data-action-url="tx_url" data-remove-me=""/>
|
|
<!-- seller -->
|
|
<input type='hidden' name='PSPID' t-att-value='PSPID'/>
|
|
<input type='hidden' name='ORDERID' t-att-value='ORDERID'/>
|
|
<!-- cart -->
|
|
<input type='hidden' name='AMOUNT' t-att-value='AMOUNT or "0.0"'/>
|
|
<input type='hidden' name='CURRENCY' t-att-value='CURRENCY'/>
|
|
<!-- buyer -->
|
|
<input type='hidden' name='LANGUAGE' t-att-value='LANGUAGE'/>
|
|
<input type='hidden' name='CN' t-att-value='CN'/>
|
|
<input type='hidden' name='EMAIL' t-att-value='EMAIL'/>
|
|
<input type='hidden' name='OWNERZIP' t-att-value='OWNERZIP'/>
|
|
<input type='hidden' name='OWNERADDRESS' t-att-value='OWNERADDRESS'/>
|
|
<input type='hidden' name='OWNERCTY' t-att-value='OWNERCTY'/>
|
|
<input type='hidden' name='OWNERTOWN' t-att-value='OWNERTOWN'/>
|
|
<input type='hidden' name='OWNERTELNO' t-att-value='OWNERTELNO'/>
|
|
<t t-if="acquirer.save_token in ['ask', 'always']">
|
|
<input type='hidden' name='ALIAS' t-att-value='ALIAS'/>
|
|
<input type='hidden' name='ALIASUSAGE' t-att-value='ALIASUSAGE'/>
|
|
</t>
|
|
<!-- before payment verification -->
|
|
<input type='hidden' name='SHASIGN' t-att-value='SHASIGN'/>
|
|
<!-- after payment parameters -->
|
|
<t t-if='PARAMPLUS'>
|
|
<input type='hidden' name="PARAMPLUS" t-att-value='PARAMPLUS'/>
|
|
</t>
|
|
<!-- redirection -->
|
|
<input type='hidden' name='ACCEPTURL' t-att-value='ACCEPTURL'/>
|
|
<input type='hidden' name='DECLINEURL' t-att-value='DECLINEURL'/>
|
|
<input type='hidden' name='EXCEPTIONURL' t-att-value='EXCEPTIONURL'/>
|
|
<input type='hidden' name='CANCELURL' t-att-value='CANCELURL'/>
|
|
</template>
|
|
|
|
<template id="ogone_s2s_form">
|
|
<input type="hidden" name="data_set" data-create-route="/payment/ogone/s2s/create_json_3ds"/>
|
|
<input type="hidden" name="acquirer_id" t-att-value="id"/>
|
|
<input t-if="return_url" type="hidden" name="return_url" t-att-value="return_url"/>
|
|
<input t-if="partner_id" type="hidden" name="partner_id" t-att-value="partner_id"/>
|
|
<div t-attf-class="mt8 #{'' if bootstrap_formatting else 'o_card_brand_detail'}">
|
|
<div t-att-class="'form-group col-md-12' if bootstrap_formatting else 'form-group'">
|
|
<input type="tel" name="cc_number" id="cc_number" class="form-control" placeholder="Card number" data-is-required="true"/>
|
|
<div class="card_placeholder"></div>
|
|
<div class="visa"></div>
|
|
<input type="hidden" name="cc_brand" value=""/>
|
|
</div>
|
|
<div t-att-class="'form-group col-md-5' if bootstrap_formatting else 'form-group'">
|
|
<input type="text" name="cc_holder_name" id="cc_holder_name" class="form-control" placeholder="Cardholder name" data-is-required="true"/>
|
|
</div>
|
|
<div t-att-class="'form-group col-md-3' if bootstrap_formatting else 'form-group'">
|
|
<input type="text" name="cc_expiry" id="cc_expiry" class="form-control" maxlength="7" placeholder="Expires (MM / YY)" data-is-required="true"/>
|
|
</div>
|
|
<div t-att-class="'form-group col-md-4' if bootstrap_formatting else 'form-group'">
|
|
<input type="text" name="cc_cvc" id="cc_cvc" class="form-control" maxlength="4" placeholder="CVC" data-is-required="true"/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</data>
|
|
</flectra>
|