-
Notifications
You must be signed in to change notification settings - Fork 0
/
kkb.xml
130 lines (99 loc) · 6.79 KB
/
kkb.xml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?xml version="1.0" encoding="UTF-8" ?>
<extension version="2.5" type="plugin" group="vmpayment">
<name>kkb</name>
<creationDate>December 04 2014</creationDate>
<author>BeeMobile</author>
<authorUrl>http://www.virtuemart.net</authorUrl>
<copyright>Copyright (C) 2004-2014 Virtuemart Team. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<version>3.0.2</version>
<description>epay.kkb.kz</description>
<files>
<filename plugin="kkb">kkb.php</filename>
<folder>language</folder>
<folder>kkb</folder>
</files>
<vmconfig>
<fields name="params">
<fieldset name="basic" addfieldpath="/plugins/vmpayment/kkb/kkb/fields">
<field type="getkkb" default=""/>
<field name="payment_logos" type="vmfiles" directory="/plugins/vmpayment/kkb/kkb/assets/images/"
hide_none="1" label="VMPAYMENT_KKB_LOGOS"
size="40"
description="VMPAYMENT_KKB_LOGOS_TIP"
default="kkb.png"/>
<field class="level1" type="vmtitle" default="VMPAYMENT_KKB_BASIC_PARAMS"/>
<field class="" name="sandbox" type="radio" default="1" label="VMPAYMENT_KKB_SHOP_MODE"
description="VMPAYMENT_KKB_SHOP_MODE_DESC">
<option value="0">VMPAYMENT_KKB_PRODUCTION</option>
<option value="1">VMPAYMENT_KKB_SANDBOX</option>
</field>
<field class="sandbox_warning" type="vmtitle" default=""
description="VMPAYMENT_KKB_SANDBOX_WARNING"/>
<!-- Live -->
<field class="live required" name="LIVE_URL" type="text" size="80" default="https://epay.kkb.kz/jsp/process/logon.jsp"
label="VMPAYMENT_KKB_URL"/>
<field class="live required" name="LIVE_MERCHANT_CERTIFICATE_ID" type="text" size="80" default=""
label="VMPAYMENT_KKB_MERCHANT_CERTIFICATE_ID"/>
<field class="live required" name="LIVE_MERCHANT_NAME" type="text" size="80" default=""
label="VMPAYMENT_KKB_MERCHANT_NAME"/>
<field class="live required" name="LIVE_MERCHANT_ID" type="text" size="80" default=""
label="VMPAYMENT_KKB_MERCHANT_ID"/>
<field class="live certificate" name="LIVE_PUBLIC_KEY" type="getcertificate"
directory="kkb" stripext="0" exclude="^_" default=""
label="VMPAYMENT_KKB_PUBLIC_KEY_CERTIFICATE"/>
<field class="live certificate" name="LIVE_PRIVATE_KEY" type="getcertificate"
directory="kkb" stripext="0" exclude="^_" default=""
label="VMPAYMENT_KKB_PRIVATE_KEY_CERTIFICATE"/>
<field class="live required" name="LIVE_PRIVATE_KEY_PASS" type="password" size="80" default=""
label="VMPAYMENT_KKB_PRIVATE_KEY_PASS"/>
<!-- Sandbox -->
<field class="sandbox required" name="SANDBOX_URL" type="text" size="80" default="https://3dsecure.kkb.kz/jsp/process/logon.jsp"
label="VMPAYMENT_KKB_URL"/>
<field class="sandbox required" name="SANDBOX_MERCHANT_CERTIFICATE_ID" type="text" size="80" default="00C182B189"
label="VMPAYMENT_KKB_MERCHANT_CERTIFICATE_ID"/>
<field class="sandbox required" name="SANDBOX_MERCHANT_NAME" type="text" size="80" default="Test shop"
label="VMPAYMENT_KKB_MERCHANT_NAME"/>
<field class="sandbox required" name="SANDBOX_MERCHANT_ID" type="text" size="80" default="92061101"
label="VMPAYMENT_KKB_MERCHANT_ID"/>
<field class="sandbox certificate" name="SANDBOX_PUBLIC_KEY" type="getcertificate"
directory="kkb" stripext="0" exclude="^_" default="kkbca.pem"
label="VMPAYMENT_KKB_PUBLIC_KEY_CERTIFICATE"/>
<field class="sandbox certificate" name="SANDBOX_PRIVATE_KEY" type="getcertificate"
directory="kkb" stripext="0" exclude="^_" default="test_prv.pem"
label="VMPAYMENT_KKB_PRIVATE_KEY_CERTIFICATE"/>
<field class="sandbox required" name="SANDBOX_PRIVATE_KEY_PASS" type="password" size="80" default="nissan"
label="VMPAYMENT_KKB_PRIVATE_KEY_PASS"/>
<field name="payment_approve" type="list" default="automatic" label="VMPAYMENT_KKB_PAYMENT_APPROVE"
description="VMPAYMENT_KKB_PAYMENT_APPROVE_DESC">
<option value="automatic">VMPAYMENT_KKB_PAYMENT_APPROVE_AUTOMATIC</option>
<option value="manual">VMPAYMENT_KKB_PAYMENT_APPROVE_MANUAL</option>
</field>
<!-- Order status -->
<!-- ============ -->
<field type="vmtitle" default="VMPAYMENT_KKB_ORDER_STATUS_SECTION"
description="VMPAYMENT_KKB_ORDER_STATUS_SECTION_DESC"/>
<field name="status_pending" type="vmorderstate" scope="com_virtuemart" default="U"
label="VMPAYMENT_KKB_STATUS_PENDING" description="VMPAYMENT_KKB_STATUS_PENDING_TIP"/>
<field name="status_success" type="vmorderstate" scope="com_virtuemart" default="C"
label="VMPAYMENT_KKB_STATUS_SUCCESS" description="VMPAYMENT_KKB_STATUS_SUCCESS_TIP"/>
<field name="status_canceled" type="vmorderstate" scope="com_virtuemart" default="X"
label="VMPAYMENT_KKB_STATUS_CANCEL" description="VMPAYMENT_KKB_STATUS_CANCEL_TIP"/>
<field class="Authorization" name="status_capture" type="vmorderstate" scope="com_virtuemart"
default="S"
label="VMPAYMENT_KKB_STATUS_CAPTURE" description="VMPAYMENT_KKB_STATUS_CAPTURE_TIP"/>
<field name="status_refunded" type="vmorderstate" scope="com_virtuemart" default="R"
label="VMPAYMENT_KKB_STATUS_REFUND" description="VMPAYMENT_KKB_STATUS_REFUND_TIP"/>
<field type="vmtitle" default="VMPAYMENT_KKB_DEBUG_SECTION"
description=""/>
<field name="log" type="radio" default="0" label="VMPAYMENT_KKB_LOG"
description="VMPAYMENT_KKB_LOG_DESC">
<option value="0">VMPAYMENT_KKB_NO</option>
<option value="1">VMPAYMENT_KKB_YES</option>
</field>
<field name="cost_per_transaction" type="hidden" default=""/>
<field name="cost_percent_total" type="hidden" default=""/>
</fieldset>
</fields>
</vmconfig>
</extension>