2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<data noupdate="1">
|
|
|
|
<template id="paypal_form">
|
|
|
|
<div>
|
|
|
|
<input type="hidden" name="data_set" t-att-data-action-url="tx_url" data-remove-me=""/>
|
|
|
|
<input type="hidden" name="cmd" t-att-value="cmd"/>
|
|
|
|
<input type="hidden" name="business" t-att-value="business"/>
|
|
|
|
<input type="hidden" name="item_name" t-att-value="item_name"/>
|
|
|
|
<input type="hidden" name="item_number" t-att-value="item_number"/>
|
|
|
|
<input type="hidden" name="amount" t-att-value="amount"/>
|
|
|
|
<input t-if="handling" type="hidden" name="handling"
|
|
|
|
t-att-value="handling"/>
|
|
|
|
<input type="hidden" name="currency_code" t-att-value="currency_code"/>
|
|
|
|
<!-- partner / address data -->
|
|
|
|
<input type="hidden" name="address1" t-att-value="address1"/>
|
|
|
|
<input type="hidden" name="city" t-att-value="city"/>
|
|
|
|
<input type="hidden" name="country" t-att-value="country"/>
|
|
|
|
<input type="hidden" name="email" t-att-value="email"/>
|
|
|
|
<input type="hidden" name="first_name" t-att-value="first_name"/>
|
|
|
|
<input type="hidden" name="last_name" t-att-value="last_name"/>
|
|
|
|
<input type="hidden" name="zip" t-att-value="zip_code"/>
|
|
|
|
<input t-if='state' type='hidden' name="state"
|
|
|
|
t-att-value='state'/>
|
|
|
|
<!-- after payment parameters -->
|
|
|
|
<input t-if='custom' type='hidden' name="custom"
|
|
|
|
t-att-value='custom'/>
|
|
|
|
<!-- URLs -->
|
|
|
|
<input t-if="paypal_return" type='hidden' name='return'
|
|
|
|
t-att-value="paypal_return"/>
|
|
|
|
<input t-if="acquirer.paypal_use_ipn" type='hidden' name='notify_url'
|
|
|
|
t-att-value="notify_url"/>
|
|
|
|
<input t-if="cancel_return" type="hidden" name="cancel_return"
|
|
|
|
t-att-value="cancel_return"/>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</data>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|