Subversion Repositories SmartDukaan

Rev

Rev 421 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 421 Rev 424
Line 73... Line 73...
73
		String orderDetails = "";
73
		String orderDetails = "";
74
		String email = "";
74
		String email = "";
75
		String contactNumber = "";
75
		String contactNumber = "";
76
		String billingAddress = "";
76
		String billingAddress = "";
77
		String merchantInfo = "";
77
		String merchantInfo = "";
-
 
78
		String amount;
78
		
79
		try{
-
 
80
			amount = this.reqparams.get("amount")[0];
-
 
81
		}catch(Exception e){
-
 
82
			amount = (new Double(Utils.getPaymentAmount(userinfo.getCartId()))).toString();
79
		
83
		}
80
		String amount =   this.reqparams.get("amount")[0];
84
		//String amount = this.request.getParameter("amount");
81
		session.setAttribute("amount", amount);
85
		session.setAttribute("amount", amount);
82
		// May be we can use some utils function to get the prices in cart but it is better to get price from post form
86
		// May be we can use some utils function to get the prices in cart but it is better to get price from post form
83
		
87
		
84
		long paymentId = 0;
88
		long paymentId = 0;
85
		in.shop2020.payments.PaymentService.Client client = paymentServiceClient.getClient();
89
		in.shop2020.payments.PaymentService.Client client = paymentServiceClient.getClient();