<#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <#assign cart = shoppingCart! />

3)${uiLabelMap.OrderHowShallYouPay}?

<#-- Payment Method Selection -->
<#if productStorePaymentMethodTypeIdMap.CREDIT_CARD??> ${uiLabelMap.AccountingCreditCard} <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT??> ${uiLabelMap.AccountingEFTAccount} <#if productStorePaymentMethodTypeIdMap.EXT_OFFLINE??>
<#if productStorePaymentMethodTypeIdMap.EXT_COD??>
<#if productStorePaymentMethodTypeIdMap.EXT_WORLDPAY??>
<#if productStorePaymentMethodTypeIdMap.EXT_PAYPAL??>
<#if productStorePaymentMethodTypeIdMap.EXT_IDEAL??>
<#if !paymentMethodList?has_content>
${uiLabelMap.AccountingNoPaymentMethods}.
<#else> <#list paymentMethodList as paymentMethod> <#if paymentMethod.paymentMethodTypeId == "GIFT_CARD"> <#if productStorePaymentMethodTypeIdMap.GIFT_CARD??> <#assign giftCard = paymentMethod.getRelatedOne("GiftCard", false) /> <#if giftCard?has_content && giftCard.cardNumber?has_content> <#assign giftCardNumber = "" /> <#assign pcardNumber = giftCard.cardNumber /> <#if pcardNumber?has_content> <#assign psize = pcardNumber?length - 4 /> <#if 0 < psize> <#list 0 .. psize-1 as foo> <#assign giftCardNumber = giftCardNumber + "*" /> <#assign giftCardNumber = giftCardNumber + pcardNumber[psize .. psize + 3] /> <#else> <#assign giftCardNumber = pcardNumber />
checked="checked" /> <#if paymentMethod.description?has_content>(${paymentMethod.description}) ${uiLabelMap.CommonUpdate} ${uiLabelMap.OrderBillUpTo}:
<#elseif paymentMethod.paymentMethodTypeId == "CREDIT_CARD"> <#if productStorePaymentMethodTypeIdMap.CREDIT_CARD??> <#assign creditCard = paymentMethod.getRelatedOne("CreditCard", false) />
checked="checked" /> <#if paymentMethod.description?has_content>(${paymentMethod.description}) ${uiLabelMap.CommonUpdate}
<#elseif paymentMethod.paymentMethodTypeId == "EFT_ACCOUNT"> <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT??> <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount", false) />
<#if paymentMethod.description?has_content>

(${paymentMethod.description})

${uiLabelMap.CommonUpdate}
<#-- special billing account functionality to allow use w/ a payment method --> <#if productStorePaymentMethodTypeIdMap.EXT_BILLACT??> <#if billingAccountList?has_content>
<#-- end of special billing account functionality --> <#if productStorePaymentMethodTypeIdMap.GIFT_CARD??>
<#if cart.isPinRequiredForGC(delegator)>
<#if productStorePaymentMethodTypeIdMap.CREDIT_CARD??>${uiLabelMap.AccountingSingleUseCreditCard} <#if productStorePaymentMethodTypeIdMap.GIFT_CARD??>${uiLabelMap.AccountingSingleUseGiftCard} <#if productStorePaymentMethodTypeIdMap.EFT_ACCOUNT??>${uiLabelMap.AccountingSingleUseEFTAccount}
<#-- End Payment Method Selection -->
${uiLabelMap.OrderBacktoShoppingCart} ${uiLabelMap.OrderContinueToFinalOrderReview}