Subversion Repositories SmartDukaan

Rev

Rev 13372 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6060 rajveer 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html>
3
<head>
4
	<title>${domain.name}: Redirecting to PayU Payment Page</title>
5
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
6
</head>
7
<body>
8
    <div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
9
	<div align="center" class="img">
10
		<img title="loading" alt="loading" src="/images/loading.gif">
11
	</div>
12
	<div style="display:none">
13
		<form  method="post" action="https://test.payu.in/_payment" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">	 
14
           <!-- Account Id -->
15
           <input name="key" type="hidden" value="$action.getAccountId()" />
16
 
17
		   #set($billingAddress=$action.getBillingDetails())
18
 
19
           <!-- Transaction Details -->
20
           <input name="txnid" type="hidden" value="$action.getId()" />
21
 
22
		   <input name="amount" type="hidden" value="$action.getAmount()" />
23
 
24
           <input name="productinfo" type="hidden" value="$action.getDescription()" />
25
 
26
		   <input name="firstname" type="hidden" value="$billingAddress.getName()" /></td>
27
 
28
		   <input name="address1" type="hidden" value="$billingAddress.getAddress1()" />
29
 
30
		   <input name="address2" type="hidden" value="$billingAddress.getAddress2()" />
31
 
32
           <input name="city" type="hidden" value="$billingAddress.getCity()" />
33
 
34
           <input name="state" type="hidden" value="$billingAddress.getState()" />
35
 
36
           <input name="country" type="hidden" value="India"/>
37
 
38
		   <input name="zipcode" type="hidden" value="$billingAddress.getPostalCode()" />
39
 
40
           <input name="email" type="hidden" value="$billingAddress.getEmail()" />
41
 
42
		   <input name="phone" type="hidden" value="$billingAddress.getPhone()" />
43
 
44
		   <input name="surl" type="hidden" value="$action.getReturnUrl()" />
45
 
46
		   <input name="furl" type="hidden" value="$action.getReturnUrl()" />
47
 
48
		   <input name="furl" type="hidden" value="$action.getReturnUrl()" />
49
 
50
		   #if($action.getPaymentOption())
51
		   <input name="pg" type="hidden" value="CC"/>
52
		   #end
53
 
54
		   <input name="hash" type="hidden" value="$action.getSecureHash()" />
55
 
56
           <input name="submitted" value="Submit" type="submit" />&nbsp; 
57
           <input value="Reset" type="reset" />
58
      </form>
59
    </div>
60
 
61
    #include ( "templates/commonjsfiles.vm" )
62
    <script type="text/javascript">
63
      $(function() {
64
	      $('form[name="frmTransaction"]').submit();
65
      });
66
    </script>
67
  </body>
68
</html>