| Line 7... |
Line 7... |
| 7 |
<body>
|
7 |
<body>
|
| 8 |
<div style="text-align:center; margin-top:200px;">Please wait while we redirect you to the Payment Gateway.</div>
|
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">
|
9 |
<div align="center" class="img">
|
| 10 |
<img title="loading" alt="loading" src="/images/loading.gif">
|
10 |
<img title="loading" alt="loading" src="/images/loading.gif">
|
| 11 |
</div>
|
11 |
</div>
|
| - |
|
12 |
#set($ppp=$action.getPpp())
|
| 12 |
<div style="display:none">
|
13 |
<div style="display:none">
|
| 13 |
<form method="post" action="https://test.payu.in/_payment" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">
|
14 |
<form method="post" action="$ppp.getPostActionUrl" name="frmTransaction" id="frmTransaction" onSubmit="return validate()">
|
| 14 |
<!-- Account Id -->
|
15 |
<!-- Account Id -->
|
| 15 |
<input name="key" type="hidden" value="$action.getAccountId()" />
|
16 |
<input name="key" type="hidden" value="$action.getAccountId()" />
|
| 16 |
|
17 |
|
| 17 |
#set($billingAddress=$action.getBillingDetails())
|
- |
|
| 18 |
|
18 |
|
| 19 |
<!-- Transaction Details -->
|
19 |
<!-- Transaction Details -->
|
| 20 |
<input name="txnid" type="hidden" value="$action.getId()" />
|
20 |
<input name="txnid" type="hidden" value="$ppp.getTxnid()" />
|
| 21 |
|
21 |
|
| 22 |
<input name="amount" type="hidden" value="$action.getAmount()" />
|
22 |
<input name="amount" type="hidden" value="$ppp.getAmount()" />
|
| 23 |
|
23 |
|
| 24 |
<input name="productinfo" type="hidden" value="$action.getDescription()" />
|
24 |
<input name="productinfo" type="hidden" value="$ppp.getProductinfo()" />
|
| 25 |
|
25 |
|
| 26 |
<input name="firstname" type="hidden" value="$billingAddress.getName()" /></td>
|
26 |
<input name="firstname" type="hidden" value="$ppp.getFirstname()" /></td>
|
| 27 |
|
27 |
|
| 28 |
<input name="address1" type="hidden" value="$billingAddress.getAddress1()" />
|
28 |
<input name="address1" type="hidden" value="$ppp.getAddress1()" />
|
| 29 |
|
29 |
|
| 30 |
<input name="address2" type="hidden" value="$billingAddress.getAddress2()" />
|
30 |
<input name="address2" type="hidden" value="$ppp.getAddress2()" />
|
| 31 |
|
31 |
|
| 32 |
<input name="city" type="hidden" value="$billingAddress.getCity()" />
|
32 |
<input name="city" type="hidden" value="$ppp.getCity()" />
|
| 33 |
|
33 |
|
| 34 |
<input name="state" type="hidden" value="$billingAddress.getState()" />
|
34 |
<input name="state" type="hidden" value="$ppp.getState()" />
|
| 35 |
|
35 |
|
| 36 |
<input name="country" type="hidden" value="India"/>
|
36 |
<input name="country" type="hidden" value="India"/>
|
| 37 |
|
37 |
|
| 38 |
<input name="zipcode" type="hidden" value="$billingAddress.getPostalCode()" />
|
38 |
<input name="zipcode" type="hidden" value="$ppp.getZipcode()" />
|
| 39 |
|
39 |
|
| 40 |
<input name="email" type="hidden" value="$billingAddress.getEmail()" />
|
40 |
<input name="email" type="hidden" value="$ppp.getEmail()" />
|
| 41 |
|
41 |
|
| 42 |
<input name="phone" type="hidden" value="$billingAddress.getPhone()" />
|
42 |
<input name="phone" type="hidden" value="$ppp.getPhone()" />
|
| 43 |
|
43 |
|
| 44 |
<input name="surl" type="hidden" value="$action.getReturnUrl()" />
|
44 |
<input name="surl" type="hidden" value="$ppp.getSurl()" />
|
| 45 |
|
45 |
|
| 46 |
<input name="furl" type="hidden" value="$action.getReturnUrl()" />
|
46 |
<input name="furl" type="hidden" value="$ppp.getFurl()" />
|
| 47 |
|
47 |
|
| 48 |
<input name="furl" type="hidden" value="$action.getReturnUrl()" />
|
48 |
<input name="curl" type="hidden" value="$ppp.getCurl()" />
|
| 49 |
|
49 |
|
| 50 |
#if($action.getPaymentOption())
|
- |
|
| 51 |
<input name="pg" type="hidden" value="CC"/>
|
50 |
<input name="pg" type="hidden" value="$ppp.getPg()"/>
|
| 52 |
#end
|
51 |
|
| - |
|
52 |
<input name="bankcode" type="hidden" value="$ppp.getBankcode()"/>
|
| 53 |
|
53 |
|
| 54 |
<input name="hash" type="hidden" value="$action.getSecureHash()" />
|
54 |
<input name="hash" type="hidden" value="$ppp.getHash()" />
|
| 55 |
|
55 |
|
| 56 |
<input name="submitted" value="Submit" type="submit" />
|
56 |
<input name="submitted" value="Submit" type="submit" />
|
| 57 |
<input value="Reset" type="reset" />
|
57 |
<input value="Reset" type="reset" />
|
| 58 |
</form>
|
58 |
</form>
|
| 59 |
</div>
|
59 |
</div>
|