-
Notifications
You must be signed in to change notification settings - Fork 0
/
hnb_ipg.xml
62 lines (60 loc) · 4.62 KB
/
hnb_ipg.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
<?xml version="1.0" encoding="UTF-8" ?>
<extension version="2.5" type="plugin" group="vmpayment" method="upgrade">
<name>Virtuemart Payment - HNB IPG</name>
<creationDate>July 14 2020</creationDate>
<author>Hansaka Weerasingha</author>
<authorUrl>http://hansakaonline.blogspot.com</authorUrl>
<copyright>Copyright (C) 2020 Hansaka Weerasingha. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<version>1.1.1</version>
<description><![CDATA[<a href="https://www.hnb.lk/" target="_blank">HNB</a> is a local internet payment gateway provider available in Sri Lanka. ]]>
</description>
<files>
<filename plugin="hnb_ipg">hnb_ipg.php</filename>
<filename>index.html</filename>
<folder>hnb_ipg</folder>
<folder>language</folder>
</files>
<vmconfig>
<fields name="params">
<fieldset name="payment" addfieldpath="/administrator/components/com_virtuemart/fields">
<field type="vmtitle" default="VMPAYMENT_HNB_IPG_PAYMENT_INFO_TITLE" level="level1" />
<field name="payment_currency" type="vmacceptedcurrency" default="" label="VMPAYMENT_HNB_IPG_CURRENCY" description="VMPAYMENT_HNB_IPG_CURRENCY_DESC"/>
<field name="status_pending" type="vmorderstate" scope="com_virtuemart" default="U" label="VMPAYMENT_HNB_IPG_STATUS_PENDING" description="VMPAYMENT_HNB_IPG_STATUS_PENDING_DESC"/>
<field name="send_invoice_on_order_null" type="radio" scope="com_virtuemart" default="1" label="VMPAYMENT_HNB_IPG_SEND_INVOICE_ON_ORDER_NULL" description="VMPAYMENT_HNB_IPG_SEND_INVOICE_ON_ORDER_NULL_DESC">
<option value="0">COM_VIRTUEMART_NO</option>
<option value="1">COM_VIRTUEMART_YES</option>
</field>
</fieldset>
<fieldset name="template">
<field type="vmtitle" default="VMPAYMENT_HNB_IPG_TEMPLATE_INFO_TITLE" level="level1" />
<field name="payment_logos" type="vmfiles" multiple="true" directory="/images/stories/virtuemart/payment"
hide_none="1" label="VMPAYMENT_HNB_IPG_LOGOS" size="40" description="VMPAYMENT_HNB_IPG_LOGOS_DESC"/>
<field name="payment_info" type="textarea" cols="35" rows="5" label="VMPAYMENT_HNB_IPG_PAYMENT_INFO" description="VMPAYMENT_HNB_IPG_PAYMENT_INFO_DESC"/>
</fieldset>
<fieldset name="restrictions" >
<field type="vmtitle" default="VMPAYMENT_HNB_IPG_RESTRICTIONS_TITLE" level="level1" />
<field name="countries" multiple="true" type="vmcountries" scope="com_virtuemart" default=""
label="VMPAYMENT_HNB_IPG_COUNTRIES" description="VMPAYMENT_HNB_IPG_COUNTRIES_DESC"/>
<field name="min_amount" type="text" label="VMPAYMENT_HNB_IPG_MIN_AMOUNT" description="VMPAYMENT_HNB_IPG_MIN_AMOUNT_DESC"/>
<field name="max_amount" type="text" label="VMPAYMENT_HNB_IPG_MAX_AMOUNT" description="VMPAYMENT_HNB_IPG_MAX_AMOUNT_DESC"/>
</fieldset>
<fieldset name="fee">
<field type="vmtitle" default="VMPAYMENT_HNB_IPG_FEE_TITLE" level="level1" />
<field name="cost_per_transaction" type="text" label="VMPAYMENT_HNB_IPG_COST_PER_TRANSACTION" description="VMPAYMENT_HNB_IPG_COST_PER_TRANSACTION_DESC"/>
<field name="cost_percent_total" type="text" label="VMPAYMENT_HNB_IPG_COST_PERCENT_TOTAL" description="VMPAYMENT_HNB_IPG_COST_PERCENT_TOTAL_DESC"/>
<field name="tax_id" type="vmtaxes" scope="com_virtuemart" label="VMPAYMENT_HNB_IPG_TAX" description="VMPAYMENT_HNB_IPG_TAX_DESC"/>
</fieldset>
<fieldset name="ipg">
<field type="vmtitle" default="VMPAYMENT_HNB_IPG_ACCOUNT_INFO_TITLE" level="level1" />
<field name="ipg_profile_id" type="text" label="VMPAYMENT_HNB_IPG_PROFILE_ID" description="VMPAYMENT_HNB_IPG_PROFILE_ID_DESC"/>
<field name="ipg_access_key" type="text" label="VMPAYMENT_HNB_IPG_ACCESS_KEY" description="VMPAYMENT_HNB_IPG_ACCESS_KEY_DESC"/>
<field name="ipg_secret_key" type="text" label="VMPAYMENT_HNB_IPG_SECRET_KEY" description="VMPAYMENT_HNB_IPG_SECRET_KEY_DESC"/>
<field name="capture_mode" type="list" scope="com_virtuemart" default="A" label="VMPAYMENT_HNB_IPG_CAPTURE_MODE" description="VMPAYMENT_HNB_IPG_CAPTURE_MODE_DESC">
<option value="AUTOCAPTURE">VMPAYMENT_HNB_IPG_CAPTURE_AUTOMATIC</option>
<option value="STANDARDCAPTURE">VMPAYMENT_HNB_IPG_CAPTURE_MANUAL</option>
</field>
</fieldset>
</fields>
</vmconfig>
</extension>