📄 paymentsetup.ftl
字号:
<#-- * Copyright (c) 2003 The Open For Business Project - www.ofbiz.org * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * *@author Andy Zeneski (jaz@ofbiz.org) *@version $Rev: 5877 $ *@since 2.2--><div class='tabContainer'> <#if security.hasEntityPermission("PAYPROC", "_VIEW", session)> <a href="<@ofbizUrl>paysetup</@ofbizUrl>" class='tabButtonSelected'>Payment Setup</a> </#if></div><#if security.hasEntityPermission("PAYPROC", "_VIEW", session)><table border="0" width='100%' cellpadding='0' cellspacing=0 class='boxoutside'> <tr> <td width='100%'> <table width='100%' border='0' cellpadding='0' cellspacing='0' class='boxtop'> <tr> <td> <div class='boxhead'> Payment Processor Setup</div> </td> </tr> </table> </td> </tr> <tr> <td width='100%'> <table width='100%' border='0' cellpadding='0' cellspacing='0' class='boxbottom'> <tr> <td> <table width="100%" cellpadding="2" cellspacing="2" border="0"> <tr class="viewOneTR1"> <td nowrap><div class="tableheadtext">WebSite</div></td> <td nowrap><div class="tableheadtext">PayMethod Type</div></td> <td nowrap><div class="tableheadtext">Auth Service</div></td> <td nowrap><div class="tableheadtext">Re-Auth Service</td> <td nowrap><div class="tableheadtext">Capture Service</div></td> <td nowrap><div class="tableheadtext">Refund Service</td> <td nowrap><div class="tableheadtext">Payment Config</div></td> <td nowrap><div class="tableheadtext"> </div></td> </tr> <#if paymentSetups?has_content> <#list paymentSetups as paymentSetting> <#if rowStyle?exists && rowStyle == "viewManyTR1"> <#assign rowStyle = "viewManyTR2"> <#else> <#assign rowStyle = "viewManyTR1"> </#if> <tr class="${rowStyle}"> <td><div class="tabletext">${paymentSetting.siteName?if_exists}</div></td> <td><div class="tabletext">${paymentSetting.description?if_exists}</div></td> <td><div class="tabletext">${paymentSetting.paymentAuthService?if_exists}</div></td> <td><div class="tabletext">${paymentSetting.paymentReAuthService?if_exists}</div></td> <td><div class="tabletext">${paymentSetting.paymentCaptureService?if_exists}</div></td> <td><div class="tabletext">${paymentSetting.paymentRefundService?if_exists}</div></td> <td><div class="tabletext">${paymentSetting.paymentConfiguration?if_exists}</div></td> <td nowrap> <div class="tabletext"> <#if security.hasEntityPermission("PAYPROC", "_UPDATE", session)> <a href="<@ofbizUrl>paysetup?webSiteId=${paymentSetting.webSiteId?if_exists}&paymentMethodTypeId=${paymentSetting.paymentMethodTypeId?if_exists}</@ofbizUrl>" class="buttontext">Edit</a> </#if> <#if security.hasEntityPermission("PAYPROC", "_DELETE", session)> <a href="<@ofbizUrl>removeWebSitePaymentSetting?webSiteId=${paymentSetting.webSiteId?if_exists}&paymentMethodTypeId=${paymentSetting.paymentMethodTypeId?if_exists}</@ofbizUrl>" class="buttontext">Remove</a> </#if> </div> </td> </tr> </#list> <#else> <tr> <td colspan="8"><div class="tabletext">No settings found.</div></td> </tr> </#if> </table> </td> </tr> </table> </td> </tr></table> <#if security.hasEntityPermission("PAYPROC", "_CREATE", session)><br/><table border="0" width='100%' cellpadding='0' cellspacing=0 class='boxoutside'> <tr> <td width='100%'> <table width='100%' border='0' cellpadding='0' cellspacing='0' class='boxtop'> <tr> <td align="left" width='90%'> <#if webSitePayment?has_content> <div class='boxhead'> Update Setting</div> <#else> <div class='boxhead'> Add New Setting</div> </#if> </td> <#if webSitePayment?has_content> <td align='right' width='10%'><a href="<@ofbizUrl>paysetup</@ofbizUrl>" class="lightbuttontext">Add New</a></td> <#else> <td align='right' width='10%'></td> </#if> </tr> </table> </td> </tr> <tr> <td width='100%'> <table width='100%' border='0' cellpadding='0' cellspacing='0' class='boxbottom'> <tr> <td> <#if webSitePayment?has_content> <form method="post" action="<@ofbizUrl>updateWebSitePaymentSetting</@ofbizUrl>"> <#else> <form method="post" action="<@ofbizUrl>createWebSitePaymentSetting</@ofbizUrl>"> </#if> <table border='0' cellpadding='2' cellspacing='0'> <tr> <td width="26%" align="right"><div class="tabletext">WebSite</div></td> <td> </td> <td width="74%"> <#if webSitePayment?has_content> <input type='hidden' name='webSiteId' value='${webSitePayment.webSiteId}'> <div class="tabletext"> <b>${webSitePayment.siteName}</b> (This cannot be changed without re-creating the setting.) </div> <#else> <select name="webSiteId" class="selectBox"> <#list webSites as nextWebSite> <option value='${nextWebSite.webSiteId}'>${nextWebSite.siteName}</option> </#list> </select> </#if> </td> </tr> <tr> <td width="26%" align="right"><div class="tabletext">Payment Method Type</div></td> <td> </td> <td width="74%"> <#if webSitePayment?has_content> <input type='hidden' name='paymentMethodTypeId' value='${webSitePayment.paymentMethodTypeId}'> <div class="tabletext"> <b>${webSitePayment.description}</b> (This cannot be changed without re-creating the setting.) </div> <#else> <select name="paymentMethodTypeId" class="selectBox"> <#list paymentMethodTypes as nextPayType> <option value='${nextPayType.paymentMethodTypeId}'>${nextPayType.description}</option> </#list> </select> </#if> </td> </tr> <tr> <td width="26%" align="right"><div class="tabletext">Processor Auth Service</div></td> <td> </td> <td width="74%"><input type="text" class="inputBox" name="paymentAuthService" value="${payInfo.paymentAuthService?if_exists}" size="30" maxlength="60"></td> </tr> <tr> <td width="26%" align="right"><div class="tabletext">Processor Re-Auth Service</div></td> <td> </td> <td width="74%"><input type="text" class="inputBox" name="paymentReAuthService" value="${payInfo.paymentReAuthService?if_exists}" size="30" maxlength="60"></td> </tr> <tr> <td width="26%" align="right"><div class="tabletext">Processor Capture Service</div></td> <td> </td> <td width="74%"><input type="text" class="inputBox" name="paymentCaptureService" value="${payInfo.paymentCaptureService?if_exists}" size="30" maxlength="60"></td> </tr> <tr> <td width="26%" align="right"><div class="tabletext">Processor Refund Service</div></td> <td> </td> <td width="74%"><input type="text" class="inputBox" name="paymentRefundService" value="${payInfo.paymentRefundService?if_exists}" size="30" maxlength="60"></td> </tr> <tr> <td width="26%" align="right"><div class="tabletext">Processor Properties URL</div></td> <td> </td> <td width="74%"><input type="text" class="inputBox" name="paymentConfiguration" value="${payInfo.paymentConfiguration?if_exists}" size="30" maxlength="60"></td> </tr> <tr> <td colspan='2'> </td> <td colspan='1' align="left"><input type="submit" value="Update"></td> </tr> </table> </form> </td> </tr> </table> </td> </tr></table> </#if> <#else> <br/> <h3>You do not have permission to view this page. ("PAYSETUP_VIEW" or "PAYSETUP_ADMIN" needed)</h3></#if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -