Page MenuHomeIn-Portal Phabricator

billing_options.tpl
No OneTemporary

File Metadata

Created
Sat, Jan 31, 9:50 PM

billing_options.tpl

<inp2:m_DefineElement name="order_payment_type">
<option <inp2:m_param name="selected"/> value="<inp2:m_param name="key"/>"><inp2:m_param name="option"/></option>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="order_option_item">
<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="order_payment_credit_card">
<table class="block-no-border">
<tr class="cart-header">
<td>
<inp2:ord_PaymentTypeDescription/>
</td>
</tr>
<tr class="block-data">
<td>
<br/>
<inp2:m_if check="ord_HasGatewayError">
<table class="warning">
<tr>
<td valign="top" align="left" class="block-data">
<img src="img/message.gif" alt="" width="19" height="19" />
<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
<inp2:ord_ShowGatewayError/>
</td>
</tr>
</table>
</inp2:m_if>
<inp2:ord_PaymentTypeInstructions/>
<br/>
</td>
</tr>
<tr class="form-data">
<td>
<table class="form-data">
<tr>
<td>
<strong><inp2:m_Phrase label="lu_billing_CardType" />:</strong>
</td>
<td>
<select name="<inp2:ord_InputName field="PaymentCardType"/>" style="width:150px;">
<inp2:ord_PredefinedOptions field="PaymentCardType" render_as="order_option_item" selected="selected"/>
</select>
</td>
<td class="error"><inp2:ord_Error field="PaymentCardType"/></td>
</tr>
<tr>
<td>
<strong><inp2:m_Phrase label="lu_billing_CreditCardNumber" />:</strong>
</td>
<td>
<input type="text" name="<inp2:ord_InputName field="PaymentAccount"/>" value="<inp2:ord_Field field="PaymentAccount"/>" style="width: 200px;">
</td>
<td class="error"><inp2:ord_Error field="PaymentAccount"/></td>
</tr>
<tr>
<td>
<strong><inp2:m_Phrase label="lu_billing_NameOnCard" />:</strong>
</td>
<td>
<input type="text" name="<inp2:ord_InputName field="PaymentNameOnCard"/>" value="<inp2:ord_Field field="PaymentNameOnCard"/>" style="width: 260px;">
</td>
<td class="error"><inp2:ord_Error field="PaymentNameOnCard"/></td>
</tr>
<tr>
<td>
<strong><inp2:m_Phrase label="lu_billing_CardExpiration" />:</strong>
</td>
<td>
<select name="<inp2:ord_InputName field="PaymentCCExpMonth"/>">
<inp2:ord_PredefinedOptions field="PaymentCCExpMonth" render_as="order_option_item" selected="selected"/>
</select>
/
<select name="<inp2:ord_InputName field="PaymentCCExpYear"/>">
<option value=''></option>
<inp2:ord_PrintYearOptions field="PaymentCCExpYear" render_as="order_option_item" selected="selected"/>
</select>
</td>
<td class="error"><inp2:ord_Error field="PaymentCCExpDate"/></td>
</tr>
<tr>
<td>
<strong><inp2:m_Phrase label="lu_billing_CVV2" />:</strong>
</td>
<td>
<input type="text" name="<inp2:ord_InputName field="PaymentCVV2"/>" style="width: 50px;">
&nbsp;&nbsp;<a href="javascript:showCVV2Help()"><inp2:m_Phrase label="lu_WhatIsThis" /></a>
</td>
<td class="error"><inp2:ord_Error field="PaymentCVV2"/></td>
</tr>
</table>
</td>
</tr>
</table>
<script language="JavaScript">
function showCVV2Help(){
window.open('<inp2:m_Link template="in-commerce/checkout/cvv2help" />', null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150');
}
</script>
<br />
<input type="hidden" name="check_credit_card" value="true"/>
<input type="hidden" name="preview_template" value="in-commerce/checkout/preview">
<div style="text-align: right; width: 100%">
<input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>">
</div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="order_payment_type_default">
<table>
<tr class="cart-header">
<td>
<inp2:ord_PaymentTypeDescription/>
</td>
</tr>
<tr class="form-data">
<td>
<inp2:m_if check="ord_HasGatewayError">
<table class="warning">
<tr>
<td valign="top" align="left" class="block-data">
<img src="img/message.gif" alt="" width="19" height="19" />
<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
<inp2:ord_ShowGatewayError/>
</td>
</tr>
</table>
</inp2:m_if>
<br/>
<inp2:ord_PaymentTypeInstructions/>
<br/>
</td>
</tr>
</table>
<br/>
<input type="hidden" name="preview_template" value="in-commerce/checkout/preview">
<div style="text-align: right; width: 100%">
<input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>">
</div>
</inp2:m_DefineElement>
<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
<tr>
<td class="block-header"><inp2:m_Phrase label="lu_comm_BillingOptions"/></td>
</tr>
<tr>
<td class="block-data">
<table class="">
<tr class="cart-header">
<td>
Cost Summary
</td>
</tr>
</table>
<table class="form-data">
<inp2:m_DefineElement name="products_total">
<tr>
<td><inp2:m_Phrase label="lu_comm_ProductsTotal"/>:</td>
<td><inp2:ord_Field name="SubTotal" currency="selected"/></td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="shipping_total">
<tr>
<td><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td>
<td><inp2:ord_Field name="ShippingCost" currency="selected"/></td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="processing_total">
<tr>
<td><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td>
<td><inp2:ord_Field name="ProcessingFee" currency="selected"/></td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="sub_total">
<tr>
<td><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td>
<td><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="vat_total">
<tr>
<td><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td>
<td><inp2:ord_Field name="VAT" currency="selected"/></td>
</tr>
</inp2:m_DefineElement>
<inp2:ord_PrintTotals
products_render_as="products_total"
shipping_render_as="shipping_total"
processing_render_as="processing_total"
sub_total_render_as="sub_total"
vat_render_as="vat_total"/>
<tr>
<td class="price3" ><strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong></td>
<td class="price3" ><span class="price1"><inp2:ord_Field name="TotalAmount" currency="selected"/></span></td>
</tr>
</table>
<hr/>
<br />
<strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong>
<select name="<inp2:ord_InputName field="PaymentType"/>" onchange="document.getElementById('events[ord][OnUpdate]').click();">
<inp2:ord_PredefinedOptions render_as="order_payment_type" field="PaymentType" selected="selected"/>
</select>
&nbsp;<input class="button" type="submit" value="<inp2:m_Phrase label="lu_comm_Select" no_editing="1"/>" name="events[ord][OnUpdate]" id="events[ord][OnUpdate]">
<br/><br/>
<inp2:ord_PaymentTypeForm cc_render_as="order_payment_credit_card" default_render_as="order_payment_type_default"/>
</td>
</tr>
</table>

Event Timeline