Subversion Repositories SmartDukaan

Rev

Rev 2199 | Rev 5542 | 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
 
2199 chandransh 23
		   #if($action.getPaymentOption())
2159 chandransh 24
		   <input name="payment_option" type="hidden" value="$action.getPaymentOption()"/>
2199 chandransh 25
		   #end
2159 chandransh 26
 
1905 chandransh 27
		   #set($billingAddress=$action.getBillingDetails())
28
           <!-- Billing Address -->
29
 
2159 chandransh 30
           <input name="name" type="hidden" value="$billingAddress.getName()" /></td>
1905 chandransh 31
 
2159 chandransh 32
           <input name="address" type="hidden" value="$billingAddress.getAddress()" />
1905 chandransh 33
 
2159 chandransh 34
           <input name="city" type="hidden" value="$billingAddress.getCity()" />
1905 chandransh 35
 
2159 chandransh 36
           <input name="state" type="hidden" value="$billingAddress.getState()" />
1905 chandransh 37
 
2159 chandransh 38
           <input name="postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
1905 chandransh 39
 
2159 chandransh 40
		   <input name="country" type="hidden" value="IND"/>
1905 chandransh 41
 
2159 chandransh 42
           <input name="email" type="hidden" value="$billingAddress.getEmail()" />
1905 chandransh 43
 
2159 chandransh 44
		   <input name="phone" type="hidden" value="$billingAddress.getPhone()" />
1905 chandransh 45
 
46
           <!-- Delivery Address -->
47
 
2159 chandransh 48
           <input name="ship_name" type="hidden" value="$billingAddress.getName()" /></td>
1905 chandransh 49
 
2159 chandransh 50
           <input name="ship_address" type="hidden" value="$billingAddress.getAddress()" />
1905 chandransh 51
 
2159 chandransh 52
           <input name="ship_city" type="hidden" value="$billingAddress.getCity()" />
1905 chandransh 53
 
2159 chandransh 54
           <input name="ship_state" type="hidden" value="$billingAddress.getState()" />
1905 chandransh 55
 
2159 chandransh 56
           <input name="ship_postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
1905 chandransh 57
 
2159 chandransh 58
		   <input name="ship_country" type="hidden" value="IND"/>
1905 chandransh 59
 
2159 chandransh 60
           <input name="ship_phone" type="hidden" value="$billingAddress.getPhone()" />
1905 chandransh 61
 
2159 chandransh 62
           <input name="return_url" type="hidden" value="$action.getReturnUrl()" />
4566 rajveer 63
 
2159 chandransh 64
		   <input name="mode" value="$action.getMode()"/>
4566 rajveer 65
 
66
		   <input name="secure_hash" type="hidden" value="$action.getSecureHash()" />
67
 
2159 chandransh 68
           <input name="submitted" value="Submit" type="submit" />&nbsp; 
69
           <input value="Reset" type="reset" />
1905 chandransh 70
      </form>
71
    </div>
72
 
73
    #include ( "templates/commonjsfiles.vm" )
74
    <script type="text/javascript">
75
      $(function() {
76
	      $('form[name="frmTransaction"]').submit();
77
      });
78
    </script>
79
  </body>
80
</html>