Subversion Repositories SmartDukaan

Rev

Rev 2159 | Rev 2199 | Go to most recent revision | 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>
4
	<title>Saholic.com: Redirecting to EBS Payment Page</title>
5
</head>
6
<body>
7
    <div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
8
	<div align="center" class="img">
9
		<img title="loading" alt="loading" src="/images/loading.gif">
10
	</div>
1905 chandransh 11
	<div style="display:none">
2163 chandransh 12
		<form  method="post" action="https://secure.ebs.in/pg/ma/sale/pay/" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">	 
1905 chandransh 13
           <!-- Account Id -->
2159 chandransh 14
           <input name="account_id" type="hidden" value="$action.getAccountId()" />
1905 chandransh 15
 
16
           <!-- Transaction Details -->
2159 chandransh 17
           <input name="reference_no" type="hidden" value="$action.getId()" />
18
 
19
		   <input name="amount" type="hidden" value="$action.getAmount()" />
1905 chandransh 20
 
2159 chandransh 21
           <input name="description" type="hidden" value="$action.getDescription()" />
22
 
23
		   <input name="payment_option" type="hidden" value="$action.getPaymentOption()"/>
24
 
1905 chandransh 25
		   #set($billingAddress=$action.getBillingDetails())
26
           <!-- Billing Address -->
27
 
2159 chandransh 28
           <input name="name" type="hidden" value="$billingAddress.getName()" /></td>
1905 chandransh 29
 
2159 chandransh 30
           <input name="address" type="hidden" value="$billingAddress.getAddress()" />
1905 chandransh 31
 
2159 chandransh 32
           <input name="city" type="hidden" value="$billingAddress.getCity()" />
1905 chandransh 33
 
2159 chandransh 34
           <input name="state" type="hidden" value="$billingAddress.getState()" />
1905 chandransh 35
 
2159 chandransh 36
           <input name="postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
1905 chandransh 37
 
2159 chandransh 38
		   <input name="country" type="hidden" value="IND"/>
1905 chandransh 39
 
2159 chandransh 40
           <input name="email" type="hidden" value="$billingAddress.getEmail()" />
1905 chandransh 41
 
2159 chandransh 42
		   <input name="phone" type="hidden" value="$billingAddress.getPhone()" />
1905 chandransh 43
 
44
           <!-- Delivery Address -->
45
 
2159 chandransh 46
           <input name="ship_name" type="hidden" value="$billingAddress.getName()" /></td>
1905 chandransh 47
 
2159 chandransh 48
           <input name="ship_address" type="hidden" value="$billingAddress.getAddress()" />
1905 chandransh 49
 
2159 chandransh 50
           <input name="ship_city" type="hidden" value="$billingAddress.getCity()" />
1905 chandransh 51
 
2159 chandransh 52
           <input name="ship_state" type="hidden" value="$billingAddress.getState()" />
1905 chandransh 53
 
2159 chandransh 54
           <input name="ship_postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
1905 chandransh 55
 
2159 chandransh 56
		   <input name="ship_country" type="hidden" value="IND"/>
1905 chandransh 57
 
2159 chandransh 58
           <input name="ship_phone" type="hidden" value="$billingAddress.getPhone()" />
1905 chandransh 59
 
2159 chandransh 60
           <input name="return_url" type="hidden" value="$action.getReturnUrl()" />
61
		   <input name="mode" value="$action.getMode()"/>
62
           <input name="submitted" value="Submit" type="submit" />&nbsp; 
63
           <input value="Reset" type="reset" />
1905 chandransh 64
      </form>
65
    </div>
66
 
67
    #include ( "templates/commonjsfiles.vm" )
68
    <script type="text/javascript">
69
      $(function() {
70
	      $('form[name="frmTransaction"]').submit();
71
      });
72
    </script>
73
  </body>
74
</html>