{extends file="layout.tpl"} {* Security *} {block name="no-return-functions" prepend} {check_auth role="CUSTOMER" login_tpl="login"} {/block} {* Body Class *} {block name="body-class"}page-order-payment{/block} {* Breadcrumb *} {block name='no-return-functions' append} {$breadcrumbs = [ ['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}], ['title' => {intl l="Secure Payment"}, 'url'=>{url path="/order/pay"}] ]} {/block} {block name="main-content"}

# {intl l="Secure payment"}

{include file="misc/checkout-progress.tpl" step="last"} {loop type="order" name="placed-order" id=$order_id} {ifhook rel="order-payment-gateway.body"} {hook name="order-payment-gateway.body" module="$PAYMENT_MODULE"} {/ifhook} {elsehook rel="order-payment-gateway.body"}

### {intl l="You choose to pay by"} : {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}

{if $cart_count > 0}
{intl l="Connecting to the secure payment server, please wait a few seconds..."}
{foreach from=$payment_form_data key='name' item='value'} {/foreach}

{intl l='If nothing happens within 10 seconds, please click here.'}

{else} {intl l="Sorry, your cart is empty. There's nothing to pay."} {/if}
{/elsehook} {/loop}
{/block} {block name="javascript-initialization"} {ifhook rel="order-payment-gateway.javascript"} {hook name="order-payment-gateway.javascript" module="$PAYMENT_MODULE"} {/ifhook} {elsehook rel="order-payment-gateway.javascript"}
{/elsehook} {hook name="order-payment-gateway.javascript-initialization"} {/block} {block name="stylesheet"} {hook name="order-payment-gateway.stylesheet"} {/block} {block name="after-javascript-include"} {hook name="order-payment-gateway.after-javascript-include"} {/block}