{tr}Payment Request{/tr} {if isset($wp_member_title)} {if !empty($wp_member_title) && $wp_member_title ne 'default'}
{wiki}{tr _0=$wp_member_group.groupName _1=$wp_member_price _2=$prefs.payment_currency _4=$wp_member_group.expireAfter _5=$wp_member_group.expireAfterYear}{$wp_member_title}{/tr}{/wiki}
{elseif $wp_member_title eq 'default'}

{$payment_info.description|escape}

{if !isset($wp_member_expireafter)}
{if $wp_member_users > 1} {tr}For each user: {/tr} {/if}{$wp_member_postperiods} {if $wp_member_postperiods eq 1}{tr}period{/tr}{else}{tr}periods{/tr}{/if}, {$wp_member_price} {$payment_info.currency|escape} {tr}per full period{/tr}{if isset($wp_member_prorated) && $wp_member_prorated > 0 && empty($wp_member_freeprorated)}, {if $wp_member_users eq 1} {if $wp_member_postperiods > 1}first period {/if}prorated at {$wp_member_prorated} {$payment_info.currency|escape} {else} {tr}applicable prorated pricing provided{/tr}{/if}{/if}{if !empty($wp_member_freeperiods)}, {if $wp_member_users > 1} {tr}free periods provided{/tr} {else} {$wp_member_freeperiods} {tr}full free{/tr} {if $wp_member_freeperiods eq 1} {tr}period{/tr} {else} {tr}periods{/tr} {/if} {/if} {/if} {if !empty($wp_member_freeprorated)} , {$wp_member_freeprorated} {tr}prorated free{/tr} {if $wp_member_freeprorated eq 1}{tr}period{/tr}{else}{tr}periods{/tr}{/if} {/if}
{/if} {/if} {else}

{$payment_info.description|escape}

{/if} {if $wp_member_titleonly neq 'y'}
{tr}Payment Status{/tr} {if $payment_info.fullview and !empty($payment_detail)} {/if} {if $payment_info.state eq 'past'} {else} {/if}
{tr}Status:{/tr} {tr}{$payment_info.state|capitalize|escape}{/tr} {if $payment_info.state eq 'authorized'} {permission name=payment_admin}
{/permission} {/if}
{$payment_detail}
{tr}Paid amount:{/tr} {$payment_info.amount_original|escape} {$payment_info.currency|escape}
{tr}Initial amount:{/tr} {$payment_info.amount_original|escape} {$payment_info.currency|escape}
{tr}Amount remaining:{/tr} {$payment_info.amount_original|escape} {$payment_info.currency|escape}
{tr}Payment request initiated:{/tr} {$payment_info.request_date|tiki_short_date}
{tr}Payment request due:{/tr} {$payment_info.due_date|tiki_short_date}
{/if} {if ( $payment_info.state eq 'outstanding' || $payment_info.state eq 'overdue' )}
{if $prefs.payment_system eq 'paypal' && $prefs.payment_paypal_business neq ''} {tr}Pay with PayPal{/tr}
{* use subscription parameters for group memberships - depending on PayPal setup this can help avoid shipping and taxes being applied *} {if isset($payment_info.paymentRequestId) && !empty($wp_member_subscribeok) && $wp_member_subscribeok eq 'y'} {else} {/if} {**} {if $prefs.payment_paypal_ipn eq 'y'} {/if}

{elseif $prefs.payment_system eq 'israelpost' && $prefs.payment_israelpost_business_id neq ''}
{elseif $prefs.payment_system eq 'cclite' && $prefs.payment_cclite_gateway neq ''} {tr}Pay With Cclite{/tr} {if (!empty($ccresult) or !empty($ccresult2)) and $ccresult_ok}
{remarksbox title="{tr}Payment info{/tr}" type="info"} {$ccresult}
{$ccresult2} {/remarksbox} {else}
{if (!empty($ccresult) or !empty($ccresult2))} {remarksbox title="{tr}Payment problem{/tr}" type="info"} {$ccresult}
{$ccresult2} {/remarksbox} {/if} {/if} {elseif $prefs.payment_system eq 'tikicredits'} {tr}Pay With Tiki Credits{/tr}
{tr}Pay with Tiki User Credits:{/tr}
{foreach key=id item=data from=$userpaycredits} {/foreach}
{tr}Credit type{/tr} {tr}Credits left{/tr} {tr}Amount to pay{/tr} {tr}Pay using{/tr}
{$data.display_text|escape} {$data.remain|escape} {$data.price|escape}
{/if}
{if !empty($prefs.payment_manual)} {capture name=wp_payment_manual}wiki:{$prefs.payment_manual}{/capture} {include file=$smarty.capture.wp_payment_manual} {/if} {/if} {if $payment_info.fullview && $payment_info.payments|@count}
{tr}Payment Details{/tr} {if count($payment_info.payments) ne 1}
    {else}
      {/if} {foreach from=$payment_info.payments item=payment}
    • {if $payment.type eq 'user'} {include file='tiki-payment-user.tpl' payment=$payment currency=$payment_info.currency} {elseif $payment.type eq 'paypal'} {include file='tiki-payment-paypal.tpl' payment=$payment} {elseif $payment.type eq 'cclite'} {include file='tiki-payment-cclite.tpl' payment=$payment} {elseif $payment.type eq 'tikicredits'} {include file='tiki-payment-tikicredits.tpl' payment=$payment} {elseif $payment.type eq 'israelpost'} {include file='tiki-payment-israelpost.tpl' payment=$payment} {/if}
    • {/foreach} {if count($payment_info.payments) ne 1}
{else}{/if}
{/if} {if $payment_info.state eq 'outstanding' || $payment_info.state eq 'overdue'} {permission type=payment object={$payment.paymentRequestId} name=payment_manual}
{tr}Enter a Manual Payment{/tr}

 {$payment_info.currency|escape}

{/permission} {/if}