📄 paypal_checkout.tpl
字号:
{strip}
{if $test_mode == 'test'}
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
{else}
<form action="https://secure.paypal.com/cgi-bin/webscr" method="post">
{/if}
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="add" value="1" />
<input type="hidden" name="rm" value="2" />
<input type="hidden" name="business" value="{$email}" />
<input type="hidden" name="pay_mod" value="paypal" />
<input type="hidden" name="return" value="http://{$smarty.server.SERVER_NAME}{$docroot}checkout_process.php?pay_txn_id={$pay_txn_id}&paid_thru=paypal" />
{* used by checkout_process.php to validate order *}
<input type="hidden" name="item_name" value="{lang mkey='change_mship_to'} {$item_name}" />
<input type="hidden" name="user_id" value="{$smarty.session.UserId}" />
<input type="hidden" name="user_level" value="{$item_no}" />
<input type="hidden" name="item_number" value="{$invoice_no}" />
<input type="hidden" name="amount" value="{$amount}" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="cancel_return" value="http://{$smarty.server.SERVER_NAME}{$docroot}checkout_process.php?payment_cancel=1&pay_txn_id={$pay_txn_id}" />
<input type="hidden" name="notify_url" value="http://{$smarty.server.SERVER_NAME}{$docroot}checkout_process.php?pay_txn_id={$pay_txn_id}&paid_thru=paypal" />
<input type="hidden" name="no_note" value="1" />
{if $currency == 'UKP'} {assign var="currency" value="GBP"}
{elseif $currency == 'CD'} {assign var="currency" value='CAD'}{/if}
<input type="hidden" name="currency_code" value="{$currency}" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail" width="100%">
{assign var="page_hdr01_text" value="{lang mkey='confirmation'}"}
{include file="page_hdr01.tpl"}
<table border="0" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" width="100%">
<tr>
<td width="100%">
<table border="0" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" width="100%">
<tr><td>{lang mkey='info_confirm'}</td></tr>
<tr><td>{lang mkey='name'}{$smarty.session.FullName|stripslashes}
</td></tr>
<tr><td>{lang mkey='change_mship_to'}<b>{$item_name}</b>.</td></tr>
<tr><td>{lang mkey='amount'}{mylang mkey='support_currency' skey=$currency}{$amount}</td></tr>
<tr><td><input type="submit" class="formbutton" value="{lang mkey='confirm'}" /></td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -