source: main/kofacustom.nigeria/branches/uli-paypal/src/kofacustom/nigeria/interswitch/browser_templates/student_goto_interswitch.pt

Last change on this file was 15770, checked in by Henrik Bettermann, 5 years ago

Do not show buttons of other payment gatewas if payment was already send.

File size: 3.1 KB
Line 
1<form i18n:domain="kofacustom.nigeria"
2  tal:attributes="action view/action" method="POST">
3
4  <p i18n:translate="">
5    These data will be submitted to the CollegePAY payment gateway.
6    Gateway and portal provider fees might have been added to the total amount,
7    please check:
8  </p>
9
10  <table class="form-table" i18n:domain="waeup.kofa">
11    <tbody>
12      <tr>
13        <td i18n:translate="" class="fieldname">
14          Total Amount Authorized:</td>
15        <td>
16          <span tal:replace="view/context/amount_auth">AMOUNT</span>
17        </td>
18      </tr>
19      <tr>
20        <td i18n:translate="" class="fieldname">
21          Transaction Reference:</td>
22        <td>
23          <span tal:replace="view/context/p_id">TXNREF</span>
24        </td>
25      </tr>
26      <tr>
27        <td i18n:translate="" class="fieldname">
28          Customer Id:</td>
29        <td>
30          <span tal:replace="view/student/student_id">CUSTID</span>
31        </td>
32      </tr>
33      <tr>
34        <td i18n:translate="" class="fieldname">
35          Customer Name:</td>
36        <td>
37          <span tal:replace="view/student/display_fullname">CUSTNAME</span>
38        </td>
39      </tr>
40      <tr>
41        <td i18n:translate="" class="fieldname">
42          Payment Item:</td>
43        <td>
44          <span tal:replace="view/context/display_item">PAYMENTITEM</span>
45        </td>
46      </tr>
47      <tr>
48        <td i18n:translate="" class="fieldname">
49          Payment Category:</td>
50        <td>
51          <span tal:replace="view/category">PAYMENTCATEGORY</span>
52        </td>
53      </tr>
54    </tbody>
55  </table>
56
57  <input type="hidden" name="product_id" tal:attributes="value view/product_id" />
58  <input type="hidden" name="currency" tal:attributes="value view/currency" />
59  <input type="hidden" name="pay_item_id" tal:attributes="value view/pay_item_id" />
60  <input type="hidden" name="hash" tal:condition="python: getattr(view, 'hashvalue', False)"
61                                   tal:attributes="value view/hashvalue" />
62  <input type="hidden" name="site_redirect_url" tal:attributes="value view/site_redirect_url" />
63  <input type="hidden" name="site_name" tal:attributes="value view/site_name" />
64  <input type="hidden" name="local_date_time" tal:attributes="value view/local_date_time" />
65  <input type="hidden" name="amount" tal:attributes="value view/amount_auth" />
66  <input type="hidden" name="txn_ref" tal:attributes="value view/context/p_id" />
67  <input type="hidden" name="pay_item_name" tal:attributes="value view/context/display_item" />
68  <input type="hidden" name="cust_id_desc" tal:attributes="value view/category" />
69  <input type="hidden" name="cust_id" tal:attributes="value view/student/student_id" />
70  <input type="hidden" name="cust_name" tal:attributes="value view/student/display_fullname" />
71
72  <input tal:condition="view/xml_data" type="hidden" name="payment_params" value="college_split" />
73  <span tal:replace="structure view/xml_data"></span>
74  <br />
75  <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/>
76
77  <br /><br />
78
79  <img src="/static/img/interswitch_logos.png" />
80
81</form>
Note: See TracBrowser for help on using the repository browser.