paypal.jsp
Home
/
sm-shop /
src /
main /
webapp /
pages /
admin /
payment /
paypal.jsp
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ page session="false" %>
<div class="control-group">
<label class="required"><s:message code="module,payment.paypal.clientId" text="Paypal client id"/></label>
<div class="controls">
<form:input cssClass="input-xxlarge highlight" path="integrationKeys['client']" />
</div>
<span class="help-inline">
<c:if test="${client!=null}">
<span id="identifiererrors" class="error"><s:message code="module.payment.paypal.message.clientId" text="Field in error"/></span>
</c:if>
</span>
</div>
<div class="control-group">
<label class="required"><s:message code="module,payment.paypal.secret" text="PayPal Secret"/></label>
<div class="controls">
<form:input cssClass="input-xxlarge highlight" path="integrationKeys['secret']" />
</div>
<span class="help-inline">
<c:if test="${secret!=null}">
<span id="apikeyerrors" class="error"><s:message code="module.payment.paypal.message.secret" text="Field in error"/></span>
</c:if>
</span>
</div>
<div class="control-group">
<label class="required"><s:message code="module.payment.transactiontype" text="Transaction type"/></label>
<div class="controls">
<form:radiobutton cssClass="input-large highlight" path="integrationKeys['transaction']" value="AUTHORIZE" /> <s:message code="module.payment.transactiontype.preauth" text="Pre-authorization" /><br/>
<form:radiobutton cssClass="input-large highlight" path="integrationKeys['transaction']" value="AUTHORIZECAPTURE" /> <s:message code="module.payment.transactiontype.sale" text="Sale" /></br>
</div>
</div>