Subversion Repositories SmartDukaan

Rev

Rev 2118 | Rev 2163 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2118 Rev 2159
Line 72... Line 72...
72
</script>
72
</script>
73
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 >
73
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 >
74
	<div style="display:none">
74
	<div style="display:none">
75
	 <form  method="post" action="https://secure.ebs.in/pg/ma/sale/pay/" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">	 
75
	 <form  method="post" action="https://secure.ebs.in/pg/ma/sale/pay/" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">	 
76
           <!-- Account Id -->
76
           <!-- Account Id -->
77
           <input name="account_id" type="text" value="$action.getAccountId()" />
77
           <input name="account_id" type="hidden" value="$action.getAccountId()" />
78
 
78
 
79
           <!-- Transaction Details -->
79
           <!-- Transaction Details -->
80
           <input name="reference_no" type="text" value="$action.getId()" />
80
           <input name="reference_no" type="hidden" value="$action.getId()" />
-
 
81
           
81
           <input name="amount" type="text" value="$action.getAmount()" />
82
		   <input name="amount" type="hidden" value="$action.getAmount()" />
82
 
83
 
83
           <input name="description" type="text" value="$action.getDescription()" />
84
           <input name="description" type="hidden" value="$action.getDescription()" />
-
 
85
		   
-
 
86
		   <input name="payment_option" type="hidden" value="$action.getPaymentOption()"/>
-
 
87
		   
84
		   #set($billingAddress=$action.getBillingDetails())
88
		   #set($billingAddress=$action.getBillingDetails())
85
           <!-- Billing Address -->
89
           <!-- Billing Address -->
86
 
90
 
87
           <input name="name" type="text" value="$billingAddress.getName()" /></td>
91
           <input name="name" type="hidden" value="$billingAddress.getName()" /></td>
88
       
92
       
89
           <input name="address" type="text" value="$billingAddress.getAddress()" />
93
           <input name="address" type="hidden" value="$billingAddress.getAddress()" />
90
 
94
 
91
           <input name="city" type="text" value="$billingAddress.getCity()" />
95
           <input name="city" type="hidden" value="$billingAddress.getCity()" />
92
 
96
 
93
           <input name="state" type="text" value="$billingAddress.getState()" />
97
           <input name="state" type="hidden" value="$billingAddress.getState()" />
94
 
98
 
95
           <input name="postal_code" type="text" value="$billingAddress.getPostalCode()" />
99
           <input name="postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
96
 
100
 
97
           <select name="country">
-
 
98
			 <option value="IND" selected="selected">India</option>
101
		   <input name="country" type="hidden" value="IND"/>
99
		   </select>
-
 
100
 
102
 
101
           <input name="email" type="text" value="$billingAddress.getEmail()" />
103
           <input name="email" type="hidden" value="$billingAddress.getEmail()" />
102
 
104
 
103
		   <input name="phone" type="text" value="$billingAddress.getPhone()" />
105
		   <input name="phone" type="hidden" value="$billingAddress.getPhone()" />
104
		
106
		
105
           <!-- Delivery Address -->
107
           <!-- Delivery Address -->
106
 
108
 
107
           <input name="ship_name" type="text" value="$billingAddress.getName()" /></td>
109
           <input name="ship_name" type="hidden" value="$billingAddress.getName()" /></td>
108
       
110
       
109
           <input name="ship_address" type="text" value="$billingAddress.getAddress()" />
111
           <input name="ship_address" type="hidden" value="$billingAddress.getAddress()" />
110
 
112
 
111
           <input name="ship_city" type="text" value="$billingAddress.getCity()" />
113
           <input name="ship_city" type="hidden" value="$billingAddress.getCity()" />
112
 
114
 
113
           <input name="ship_state" type="text" value="$billingAddress.getState()" />
115
           <input name="ship_state" type="hidden" value="$billingAddress.getState()" />
114
 
116
 
115
           <input name="ship_postal_code" type="text" value="$billingAddress.getPostalCode()" />
117
           <input name="ship_postal_code" type="hidden" value="$billingAddress.getPostalCode()" />
116
 
118
 
117
            <select name="ship_country">
119
		   <input name="ship_country" type="hidden" value="IND"/>
118
				<option value="IND" selected="selected">India</option>
-
 
119
			</select>
-
 
120
            
120
            
121
            <input name="ship_phone" type="text" value="$billingAddress.getPhone()" />
121
           <input name="ship_phone" type="hidden" value="$billingAddress.getPhone()" />
122
 
122
 
123
            <input name="return_url" type="text" size="60" value="$action.getReturnUrl()" />
123
           <input name="return_url" type="hidden" value="$action.getReturnUrl()" />
124
			<select name="mode" >
-
 
125
				<option value="$action.getMode()">$action.getMode()</option>
124
		   <input name="mode" value="$action.getMode()"/>
126
			</select>
-
 
127
            <input name="submitted" value="Submit" type="submit" />&nbsp; 
125
           <input name="submitted" value="Submit" type="submit" />&nbsp; 
128
            <input value="Reset" type="reset" />
126
           <input value="Reset" type="reset" />
129
      </form>
127
      </form>
130
    </div>
128
    </div>
131
 
129
 
132
    #include ( "templates/commonjsfiles.vm" )
130
    #include ( "templates/commonjsfiles.vm" )
133
    <script type="text/javascript">
131
    <script type="text/javascript">