Loading...
Skip to main content
Site identity, navigation, etc.
Log in
Username
Password
I forgot my password
CapsLock is on.
Log in
Stay in SSL mode
Navigation and related functionality and content
Related content
View template: tiki-payment-single.tpl
Edit CSS
Template listing
<div {if isset($iPluginMemberpayment)}id="pluginMemberpayment{$iPluginMemberpayment}" {elseif isset($datachannel_execution)}id="{$datachannel_execution}" {/if}class="payment"> <fieldset> <legend style="font-weight: bold">{tr}Payment Request{/tr}</legend> {if isset($wp_member_title)} {if !empty($wp_member_title) && $wp_member_title ne 'default'} <br>{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}<br> {elseif $wp_member_title eq 'default'} <h4>{$payment_info.description|escape}</h4> {if !isset($wp_member_expireafter)} <h5>{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} </h5> {/if} {/if} {else} <h4>{$payment_info.description|escape}</h4> {/if} {if $wp_member_titleonly neq 'y'} <fieldset> <legend style="font-style: italic; padding-top: 20px; margin-bottom: 5px">{tr}Payment Status{/tr}</legend> <table style="width: auto"> <tr> <td class="italiclabel"> {tr}Status:{/tr} </td> <td style="font-weight: bold"> {tr}{$payment_info.state|capitalize|escape}{/tr} </td> <td> {if $payment_info.state eq 'authorized'} {permission name=payment_admin} <form method="post" action="{service controller=payment action=capture paymentId=$payment_info.paymentRequestId}"> <input type="submit" class="btn btn-sm btn-warning" value="{tr}Capture Payment{/tr}"> <input type="hidden" name="next" value="{$smarty.server.REQUEST_URI|escape}"> </form> {/permission} {/if} </td> </tr> {if $payment_info.fullview and !empty($payment_detail)} <tr> <td colspan="2"> <div class="clearfix wikitext"> {$payment_detail} </div> </td> <td></td> </tr> {/if} {if $payment_info.state eq 'past'} <tr> <td class="italiclabel"> {tr}Paid amount:{/tr} </td> <td class="integer"> {$payment_info.amount_original|escape} </td> <td style="font-style: italic; padding-left:3px" > {$payment_info.currency|escape} </td> </tr> {else} <tr> <td class="italiclabel"> {tr}Initial amount:{/tr} </td> <td class="integer"> {$payment_info.amount_original|escape} </td> <td style="font-style: italic; padding-left:3px"> {$payment_info.currency|escape} </td> </tr> <tr> <td class="italiclabel"> {tr}Amount remaining:{/tr} </td> <td class="integer"> {$payment_info.amount_remaining|escape} </td> <td style="font-style: italic; padding-left:3px"> {$payment_info.currency|escape} </td> </tr> <tr> <td class="italiclabel"> {tr}Payment request initiated:{/tr} </td> <td> {$payment_info.request_date|tiki_short_date} </td> <td></td> </tr> <tr> <td class="italiclabel"> {tr}Payment request due:{/tr} </td> <td> {$payment_info.due_date|tiki_short_date} </td> <td></td> </tr> {/if} </table> </fieldset> {/if} {if ( $payment_info.state eq 'outstanding' || $payment_info.state eq 'overdue' )} <fieldset> {if $prefs.payment_system eq 'paypal' && $prefs.payment_paypal_business neq ''} <legend style="font-style: italic; padding-top: 20px; margin-bottom: 0px">{tr}Pay with PayPal{/tr}</legend> <form action="{$prefs.payment_paypal_environment|escape}" method="post"> <input type="hidden" name="business" value="{$prefs.payment_paypal_business|escape}"> {* 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'} <input type="hidden" name="cmd" value="_xclick-subscriptions"> <input type="hidden" name="a3" value="{$payment_info.amount_remaining_raw|escape}"> <input type="hidden" name="p3" value="{$wp_member_periodset}"> <input type="hidden" name="t3" value="{$wp_member_interval}"> {else} <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="amount" value="{$payment_info.amount_remaining_raw|escape}"> {/if} <input type="hidden" name="item_name" value="{$payment_info.description|escape}"> <input type="hidden" name="charset" value="utf-8"> <input type="hidden" name="currency_code" value="{$prefs.payment_currency|escape}"> <input type="hidden" name="invoice" value="{$prefs.payment_invoice_prefix|escape}{$payment_info.paymentRequestId|escape}"> <input type="hidden" name="return" value="{$payment_info.returnurl|escape}"> {*<input type="hidden" name="rm" value="2">*} {if $prefs.payment_paypal_ipn eq 'y'} <input type="hidden" name="notify_url" value="{$payment_info.paypal_ipn|escape}"> {/if} <br><input type="image" style="display:block; margin-left: 15px" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_paynow_LG.gif" alt="PayPal" title="{tr}Pay with Paypal{/tr}"> <br><input type="image" name="submit" src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif" alt="PayPal"> </form> {elseif $prefs.payment_system eq 'cclite' && $prefs.payment_cclite_gateway neq ''} <legend style="font-style: italic; padding-top: 20px; margin-bottom: 5px">{tr}Pay With Cclite{/tr}</legend> {if (!empty($ccresult) or !empty($ccresult2)) and $ccresult_ok} <form action="{query _type='relative'}" method="post"> <input type="hidden" name="invoice" value="{$payment_info.paymentRequestId|escape}"> <input type="hidden" name="cookietab" value="1"> <input type="submit" class="btn btn-primary btn-sm" value="{tr}Refresh page{/tr}"> </form> {remarksbox title="{tr}Payment info{/tr}" type="info"} {$ccresult}<br> {$ccresult2} {/remarksbox} {else} <form action="{query _type='relative'}" method="post"> <input type="hidden" name="invoice" value="{$payment_info.paymentRequestId|escape}"> <input type="hidden" name="cclite_payment_amount" value="{$payment_info.amount_remaining|escape}"> <input type="submit" class="btn btn-primary btn-sm" value="{tr}Trade with Cclite{/tr}"> </form> {if (!empty($ccresult) or !empty($ccresult2))} {remarksbox title="{tr}Payment problem{/tr}" type="info"} {$ccresult}<br> {$ccresult2} {/remarksbox} {/if} {/if} {elseif $prefs.payment_system eq 'tikicredits'} <legend style="font-style: italic; padding-top: 20px; margin-bottom: 5px">{tr}Pay With Tiki Credits{/tr}</legend> <form action="{query _type='relative'}" method="post"> {tr}Pay with Tiki User Credits:{/tr} <div class="table-responsive"> <table class="table"> <tr> <th scope="col">{tr}Credit type{/tr}</th> <th scope="col">{tr}Credits left{/tr}</th> <th scope="col">{tr}Amount to pay{/tr}</th> <th scope="col">{tr}Pay using{/tr}</th> </tr> {foreach key=id item=data from=$userpaycredits} <tr> <td class="text">{$data.display_text|escape}</td> <td class="text">{$data.remain|escape}</td> <td class="integer">{$data.price|escape}</td> <td class="text"><input type="radio" name="tiki_credit_type" value="{$id|escape}" {if !$data.enough}disabled="disabled"{/if} /></td> </tr> {/foreach} <tr> <td colspan="4"> <input type="hidden" name="invoice" value="{$payment_info.paymentRequestId|escape}"> <input type="hidden" name="tiki_credit_amount" value="{$payment_info.amount_remaining|escape}"> <input type="submit" class="btn btn-primary btn-sm" name="tiki_credit_pay" value="{tr}Pay with Tiki User Credits{/tr}"> </td> </tr> </table> </div> </form> {/if} {if $prefs.payment_system eq 'ilp' and isset($prefs.payment_ilp_base_url) and !empty($payment_info.ilp_invoice_url) } <legend style="font-style: italic; padding-top: 20px; margin-bottom: 0px">{tr}Pay with Inter Ledger Protocol{/tr}</legend> <p class="alert alert-info">Use the ILP pointer to process the payment. Refresh the this page after complete the payment.</p> </span><input type="text" class="form-control" value="{$payment_info.ilp_invoice_url}"> <br> {permission name=payment_admin} <form id="ilp-check" action="{query _type='relative'}" method="post"> <input type="hidden" name="invoice" value="{$payment_info.paymentRequestId|escape}"> <input type="hidden" name="check_payment" value="{$payment_info.paymentRequestId|escape}"> <input class="btn btn-primary" type="submit" value="{tr}Check Payment{/tr}"> </form> {/permission} {/if} </fieldset> {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} <fieldset> <legend style="font-style: italic">{tr}Payment Details{/tr}</legend> {if count($payment_info.payments) ne 1}<ol>{else}<ul>{/if} {foreach from=$payment_info.payments item=payment} <li> {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} {/if} </li> {/foreach} {if count($payment_info.payments) ne 1}</ol>{else}</ul>{/if} </fieldset> {/if} {if $payment_info.state eq 'outstanding' || $payment_info.state eq 'overdue'} {permission type=payment object={$payment_info.paymentRequestId} name=payment_manual} <form method="post" action="tiki-payment.php"> <fieldset> <div class="tiki-form-group row"> <label class="col-sm-3 col-form-label text-end" for="manual_amount"> {tr}Enter a Manual Payment{/tr} </label> <div class="col-sm-8"> <div class="input-group"> <input type="number" step="0.01" min="0" id="manual_amount" name="manual_amount" class="form-control text-end"> <span class="input-group-text"> {$payment_info.currency|escape} </span> </div> </div> </div> <div class="tiki-form-group row"> <label class="col-sm-3 col-form-label text-end" for="payment-note"> {tr}Note{/tr} </label> <div class="col-sm-8"> <textarea class="form-control" id="payment-note" name="note" rows="6"></textarea> </div> </div> <div class="mb-3 row"> <div class="col-sm-8 offset-sm-3 text-end"> <input type="submit" class="btn btn-primary btn-sm" value="{tr}Enter payment{/tr}"> </div> </div> <div> <input type="hidden" name="returnurl" value="{$payment_info.returnurl|escape}"> <input type="hidden" name="invoice" value="{$payment_info.paymentRequestId|escape}"> </div> </fieldset> </form> {/permission} {/if} </fieldset> </div>
Related content
Most Popular Tags
adze
american woods
axe
broadleaf
broadleaf aspen
broadleafs
community
conifers
dendrology
eco friendly
education
froe
glossary
green
green woodworking
hammer
hard wood
hard woods
hardwoods
hickory
history
how to
joinery
literature
machinery
material processing
media
merchants
mortise
people
plane
poplar
safety
shaker
shave
society
soft woods
spokeshave
sustainable
template
tenon
terminology
tools
wood
works