-
Notifications
You must be signed in to change notification settings - Fork 0
/
payments.html
50 lines (47 loc) · 1.45 KB
/
payments.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{% extends "base.html" %}
{% block title %}Payment Gateway{% endblock %}
{% block head %}
<style type="text/css">
form table tr th { font-size: 75%; }
</style>
{% endblock %}
{% block content %}
<h2>Payment Gateway</h2>
<form action="/admin/payments" method="post">
<table border="0" cellspacing="0" cellpadding="10">
<tr>
<td align="left">Gateway URL</td>
<td align="left"><input type="text" size="60" name="gateway_url" value="{{ payments.gateway_url }}"></td>
</tr>
<tr>
<td align="left">Relay URL</td>
<td align="left"><input type="text" size="60" name="relay_url" value="{{ payments.relay_url }}"></td>
</tr>
<tr>
<td align="left">Receipt URL</td>
<td align="left"><input type="text" size="60" name="receipt_url" value="{{ payments.receipt_url }}"></td>
</tr>
<tr>
<td align="left">API Login ID</td>
<td align="left"><input type="text" size="20" name="api_login_id" value="{{ payments.api_login_id }}"></td>
</tr>
<tr>
<td align="left">Transaction Key</td>
<td align="left"><input type="text" size="20" name="transaction_key" value="{{ payments.transaction_key }}"></td>
</tr>
<tr>
<td align="left">Test Mode</td>
<td align="left">
<select name="test_mode">
<option label="False" value="false" {% if not payments.test_mode %} selected {% endif %}>False</option>
<option label="True" value="true" {% if payments.test_mode %} selected {% endif %}>True</option>
</select>
</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Save"></td>
</tr>
</table>
</form>
{% endblock %}