From b1a12e7d24e358f7c7d3bdc160ab023f13b37bd3 Mon Sep 17 00:00:00 2001 From: rfeng Date: Fri, 29 May 2009 00:28:14 +0000 Subject: Fix a few issues in the test app git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779805 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/creditcard.jsp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sandbox/rfeng/scatours-creditcard-payment-web-contribution') diff --git a/sandbox/rfeng/scatours-creditcard-payment-web-contribution/src/main/webapp/creditcard.jsp b/sandbox/rfeng/scatours-creditcard-payment-web-contribution/src/main/webapp/creditcard.jsp index 69409db313..d40f91eabf 100644 --- a/sandbox/rfeng/scatours-creditcard-payment-web-contribution/src/main/webapp/creditcard.jsp +++ b/sandbox/rfeng/scatours-creditcard-payment-web-contribution/src/main/webapp/creditcard.jsp @@ -43,8 +43,9 @@
Card Number:
Card Holder:
-Amount:
- +Amount (EUR):
+

+ <% String c = request.getParameter("charge"); @@ -59,8 +60,9 @@ Amount:
PayerType ccOwner = objectFactory.createPayerType(); ccOwner.setName(request.getParameter("cardHolder")); ccDetails.setCardOwner(ccOwner); + float amount = Float.parseFloat(request.getParameter("amount")); %> -<%=service.authorize(ccDetails, 100.0f)%> +<%=service.authorize(ccDetails, amount)%> <% } %> -- cgit v1.2.3