Subversion Repositories SmartDukaan

Rev

Rev 11436 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2163 chandransh 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>
5625 vikram.rag 4
	<title>${domain.name}: Redirecting to EBS Payment Page</title>
5542 amar.kumar 5
	<script language="javascript" type="text/javascript" src="/js/ga-invoker.js"></script>
2163 chandransh 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>
1905 chandransh 12
	<div style="display:none">
11438 amit.gupta 13
		<form  method="post" action="https://secure.ebs.in/pg/ma/sale/pay/" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">	 
1905 chandransh 14
           <!-- Account Id -->
2159 chandransh 15
           <input name="account_id" type="hidden" value="$action.getAccountId()" />
1905 chandransh 16
 
17
           <!-- Transaction Details -->
2159 chandransh 18
           <input name="reference_no" type="hidden" value="$action.getId()" />
19
 
20
		   <input name="amount" type="hidden" value="$action.getAmount()" />
1905 chandransh 21
 
2159 chandransh 22
           <input name="description" type="hidden" value="$action.getDescription()" />
23
 
2199 chandransh 24
		   #if($action.getPaymentOption())
2159 chandransh 25
		   <input name="payment_option" type="hidden" value="$action.getPaymentOption()"/>
2199 chandransh 26
		   #end
2159 chandransh 27
 
1905 chandransh 28
		   #set($billingAddress=$action.getBillingDetails())
29
           <!-- Billing Address -->
30
 
2159 chandransh 31
           <input name="name" type="hidden" value="$billingAddress.getName()" /></td>
1905 chandransh 32
 
2159 chandransh 33
           <input name="address" type="hidden" value="$billingAddress.getAddress()" />
1905 chandransh 34
 
2159 chandransh 35
           <input name="city" type="hidden" value="$billingAddress.getCity()" />
1905 chandransh 36
 
2159 chandransh 37
           <input name="state" type="hidden" value="$billingAddress.getState()" />
1905 chandransh 38
 
2159 chandransh 39
           <input name="postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
1905 chandransh 40
 
2159 chandransh 41
		   <input name="country" type="hidden" value="IND"/>
1905 chandransh 42
 
2159 chandransh 43
           <input name="email" type="hidden" value="$billingAddress.getEmail()" />
1905 chandransh 44
 
2159 chandransh 45
		   <input name="phone" type="hidden" value="$billingAddress.getPhone()" />
1905 chandransh 46
 
47
           <!-- Delivery Address -->
48
 
2159 chandransh 49
           <input name="ship_name" type="hidden" value="$billingAddress.getName()" /></td>
1905 chandransh 50
 
2159 chandransh 51
           <input name="ship_address" type="hidden" value="$billingAddress.getAddress()" />
1905 chandransh 52
 
2159 chandransh 53
           <input name="ship_city" type="hidden" value="$billingAddress.getCity()" />
1905 chandransh 54
 
2159 chandransh 55
           <input name="ship_state" type="hidden" value="$billingAddress.getState()" />
1905 chandransh 56
 
2159 chandransh 57
           <input name="ship_postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
1905 chandransh 58
 
2159 chandransh 59
		   <input name="ship_country" type="hidden" value="IND"/>
1905 chandransh 60
 
2159 chandransh 61
           <input name="ship_phone" type="hidden" value="$billingAddress.getPhone()" />
1905 chandransh 62
 
2159 chandransh 63
           <input name="return_url" type="hidden" value="$action.getReturnUrl()" />
4566 rajveer 64
 
2159 chandransh 65
		   <input name="mode" value="$action.getMode()"/>
4566 rajveer 66
 
67
		   <input name="secure_hash" type="hidden" value="$action.getSecureHash()" />
68
 
2159 chandransh 69
           <input name="submitted" value="Submit" type="submit" />&nbsp; 
70
           <input value="Reset" type="reset" />
1905 chandransh 71
      </form>
72
    </div>
73
 
74
    #include ( "templates/commonjsfiles.vm" )
75
    <script type="text/javascript">
76
      $(function() {
77
	      $('form[name="frmTransaction"]').submit();
78
      });
79
    </script>
80
  </body>
81
</html>