| Line 59... |
Line 59... |
| 59 |
<table width="400" class="full">
|
59 |
<table width="400" class="full">
|
| 60 |
<tbody>
|
60 |
<tbody>
|
| 61 |
<tr>
|
61 |
<tr>
|
| 62 |
<td width="100" style="text-align: center; ">
|
62 |
<td width="100" style="text-align: center; ">
|
| 63 |
<br/>
|
63 |
<br/>
|
| 64 |
<input type="radio" value="CreditCard" id="CreditCard" name="type"><br>
|
64 |
<input type="radio" value="CreditCard" id="CreditCard" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br>
|
| 65 |
</td>
|
65 |
</td>
|
| 66 |
<td style="text-align: center; ">
|
66 |
<td style="text-align: center; ">
|
| 67 |
<select onchange="document.getElementById('CreditCard').checked=true;" style="width: 300px;" name="gCreditCard">
|
67 |
<select onchange="document.getElementById('CreditCard').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gCreditCard">
|
| 68 |
<option value="">------- Select -------</option>
|
68 |
<option value="">------- Select Card Type-------</option>
|
| 69 |
<optgroup label="Cards issued in India">
|
69 |
<optgroup label="Cards issued in India">
|
| 70 |
<option value="2008">VISA</option>
|
70 |
<option value="2008">VISA</option>
|
| 71 |
<option value="2017">MasterCard</option>
|
71 |
<option value="2017">MasterCard</option>
|
| 72 |
<option value="1010">Diners Club</option>
|
72 |
<option value="1010">Diners Club</option>
|
| 73 |
</optgroup>
|
73 |
</optgroup>
|
| Line 88... |
Line 88... |
| 88 |
<table width="400" class="full">
|
88 |
<table width="400" class="full">
|
| 89 |
<tbody>
|
89 |
<tbody>
|
| 90 |
<tr>
|
90 |
<tr>
|
| 91 |
<td width="100" style="text-align: center; ">
|
91 |
<td width="100" style="text-align: center; ">
|
| 92 |
<br/>
|
92 |
<br/>
|
| 93 |
<input type="radio" value="DebitCard" id="DebitCard" name="type"><br>
|
93 |
<input type="radio" value="DebitCard" id="DebitCard" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br>
|
| 94 |
</td>
|
94 |
</td>
|
| 95 |
<td style="text-align: center; ">
|
95 |
<td style="text-align: center; ">
|
| 96 |
<select onchange="document.getElementById('DebitCard').checked=true;" style="width: 300px;" name="gDebitCard">
|
96 |
<select onchange="document.getElementById('DebitCard').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gDebitCard">
|
| 97 |
<option value="">------- Select -------</option>
|
97 |
<option value="">------- Select Card Type -------</option>
|
| 98 |
<option value="2000">Visa / Visa Electron Cards</option>
|
98 |
<option value="2000">Visa / Visa Electron Cards</option>
|
| 99 |
<option value="1009">Maestro Card (CitiBank only)</option>
|
99 |
<option value="1009">Maestro Card (CitiBank only)</option>
|
| 100 |
#if(${in.shop2020.payments.showTestGateway})
|
100 |
#if(${in.shop2020.payments.showTestGateway})
|
| 101 |
<option value="1001">EBS - Test Payment</option>
|
101 |
<option value="1001">EBS - Test Payment</option>
|
| 102 |
#end
|
102 |
#end
|
| Line 111... |
Line 111... |
| 111 |
<table width="400" class="full">
|
111 |
<table width="400" class="full">
|
| 112 |
<tbody>
|
112 |
<tbody>
|
| 113 |
<tr>
|
113 |
<tr>
|
| 114 |
<td width="100" style="text-align: center; ">
|
114 |
<td width="100" style="text-align: center; ">
|
| 115 |
<br/>
|
115 |
<br/>
|
| 116 |
<input type="radio" value="NetBankingAccount" id="NetBankingAccount" name="type"><br>
|
116 |
<input type="radio" value="NetBankingAccount" id="NetBankingAccount" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br>
|
| 117 |
</td>
|
117 |
</td>
|
| 118 |
<td style="text-align: center; ">
|
118 |
<td style="text-align: center; ">
|
| 119 |
<select onchange="document.getElementById('NetBankingAccount').checked=true;" style="width: 300px;" name="gNetBankingAccount">
|
119 |
<select onchange="document.getElementById('NetBankingAccount').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gNetBankingAccount">
|
| 120 |
<option value="">------- Select -------</option>
|
120 |
<option value="">------- Select Bank -------</option>
|
| 121 |
<option value="1004">AXIS Bank Account</option>
|
121 |
<option value="1004">AXIS Bank Account</option>
|
| 122 |
<option value="1127">Citi Bank Account</option>
|
122 |
<option value="1127">Citi Bank Account</option>
|
| 123 |
<option value="1135">Corporation Bank Account</option>
|
123 |
<option value="1135">Corporation Bank Account</option>
|
| 124 |
<option value="1029">Federal Bank Account</option>
|
124 |
<option value="1029">Federal Bank Account</option>
|
| 125 |
<option value="1007">HDFC Bank Account</option>
|
125 |
<option value="1007">HDFC Bank Account</option>
|
| Line 140... |
Line 140... |
| 140 |
<table width="400" class="full">
|
140 |
<table width="400" class="full">
|
| 141 |
<tbody>
|
141 |
<tbody>
|
| 142 |
<tr>
|
142 |
<tr>
|
| 143 |
<td width="100" style="text-align: center; ">
|
143 |
<td width="100" style="text-align: center; ">
|
| 144 |
<br/>
|
144 |
<br/>
|
| 145 |
<input type="radio" value="CashCard" id="CashCard" name="type"><br/>
|
145 |
<input type="radio" value="CashCard" id="CashCard" name="type" onclick="$('#recaptchaDiv').hide();$('#captchaMsg').hide();"><br/>
|
| 146 |
</td>
|
146 |
</td>
|
| 147 |
<td style="text-align: center; ">
|
147 |
<td style="text-align: center; ">
|
| 148 |
<select onchange="document.getElementById('CashCard').checked=true;" style="width: 300px;" name="gCashCard">
|
148 |
<select onchange="document.getElementById('CashCard').checked=true;$('#recaptchaDiv').hide();$('#captchaMsg').hide();" style="width: 300px;" name="gCashCard">
|
| 149 |
<option value="">------- Select -------</option>
|
149 |
<option value="">------- Select Card Type -------</option>
|
| 150 |
<option value="1132">Done Card</option>
|
150 |
<option value="1132">Done Card</option>
|
| 151 |
<option value="1134">ICash</option>
|
151 |
<option value="1134">ICash</option>
|
| 152 |
<option value="1012">ItzCash</option>
|
152 |
<option value="1012">ItzCash</option>
|
| 153 |
</select>
|
153 |
</select>
|
| 154 |
</td>
|
154 |
</td>
|
| Line 157... |
Line 157... |
| 157 |
</table>
|
157 |
</table>
|
| 158 |
</div>
|
158 |
</div>
|
| 159 |
#if($action.shouldShowCodOption())
|
159 |
#if($action.shouldShowCodOption())
|
| 160 |
<div>
|
160 |
<div>
|
| 161 |
<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
|
161 |
<script type="text/javascript" src="http://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
|
| 162 |
<script type="text/javascript">
|
- |
|
| 163 |
function showRecaptcha(element) {
|
- |
|
| 164 |
Recaptcha.create("$action.getPublicKey()", element, {
|
- |
|
| 165 |
theme: "red",
|
- |
|
| 166 |
callback: Recaptcha.focus_response_field});
|
- |
|
| 167 |
}
|
- |
|
| 168 |
</script>
|
- |
|
| 169 |
|
- |
|
| 170 |
<h3></h3>
|
162 |
<h3>Cash on Delivery</h3>
|
| 171 |
<table width="400" class="full">
|
163 |
<table width="400" class="full">
|
| 172 |
<tbody>
|
164 |
<tbody>
|
| 173 |
<tr>
|
165 |
<tr>
|
| 174 |
<td width="100" style="text-align: center; ">
|
166 |
<td width="100" style="text-align: center; ">
|
| 175 |
<br/>
|
167 |
<br/>
|
| 176 |
<input type="radio" value="COD" id="COD" name="type" onclick="showRecaptcha('recaptchaDiv');"><br/>
|
168 |
<input type="radio" value="COD" id="COD" name="type" onclick="showRecaptcha('recaptchaDiv');"><br/>
|
| 177 |
</td>
|
169 |
</td>
|
| 178 |
<td style="text-align: left; ">
|
170 |
<td style="text-align: left; ">
|
| - |
|
171 |
<select onchange="selectCodOption();" style="width: 300px;" name="gCOD">
|
| - |
|
172 |
<option value="">------- Select -------</option>
|
| 179 |
<h3>Cash on Delivery</h3>(Delivery may take one extra day.)
|
173 |
<option value="3000">Cash On Delivery</option>
|
| - |
|
174 |
</select>
|
| - |
|
175 |
<br/>
|
| - |
|
176 |
(Delivery may take one extra day.)
|
| 180 |
</td>
|
177 |
</td>
|
| 181 |
</tr>
|
178 |
</tr>
|
| - |
|
179 |
<tr>
|
| - |
|
180 |
<td> </td>
|
| - |
|
181 |
<td><span id="captchaMsg" style="display:none">Please type the words shown below</td>
|
| - |
|
182 |
</tr>
|
| 182 |
<tr>
|
183 |
<tr>
|
| - |
|
184 |
<td> </td>
|
| 183 |
<td colspan="2" style="text-align:center">
|
185 |
<td style="text-align:center">
|
| 184 |
<div id="recaptchaDiv">
|
186 |
<div id="recaptchaDiv" style="text-align:center">
|
| 185 |
</div>
|
187 |
</div>
|
| 186 |
</td>
|
188 |
</td>
|
| 187 |
</tr>
|
189 |
</tr>
|
| 188 |
</tbody>
|
190 |
</tbody>
|
| 189 |
</table>
|
191 |
</table>
|
| Line 202... |
Line 204... |
| 202 |
</div>
|
204 |
</div>
|
| 203 |
</div>
|
205 |
</div>
|
| 204 |
<!-- /color by color lightbox -->
|
206 |
<!-- /color by color lightbox -->
|
| 205 |
|
207 |
|
| 206 |
#include ( "templates/commonjsfiles.vm" )
|
208 |
#include ( "templates/commonjsfiles.vm" )
|
| - |
|
209 |
<script type="text/javascript">
|
| - |
|
210 |
function showRecaptcha(element) {
|
| - |
|
211 |
$('#captchaMsg').show();
|
| - |
|
212 |
Recaptcha.create("$action.getPublicKey()", element, {
|
| - |
|
213 |
theme: "red",
|
| - |
|
214 |
callback: Recaptcha.focus_response_field});
|
| - |
|
215 |
}
|
| - |
|
216 |
</script>
|
| - |
|
217 |
<script type="text/javascript">
|
| - |
|
218 |
function selectCodOption() {
|
| - |
|
219 |
document.getElementById('COD').checked=true;
|
| - |
|
220 |
if($("form[name='paymentModeSelection'] select[name='gCOD']").val() == 3000)
|
| - |
|
221 |
showRecaptcha('recaptchaDiv');
|
| - |
|
222 |
else
|
| - |
|
223 |
$('#recaptchaDiv').hide();
|
| - |
|
224 |
}
|
| - |
|
225 |
</script>
|
| 207 |
</body>
|
226 |
</body>
|
| 208 |
</html>
|
227 |
</html>
|