-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.php
More file actions
33 lines (23 loc) · 1.09 KB
/
install.php
File metadata and controls
33 lines (23 loc) · 1.09 KB
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
<?php
/**
* Copyright (c) 2016, Tekart Ltd.
* All rights reserved.
* ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/
* and is licensed under Oxwall Store Commercial License.
* Full text of this license can be found at http://www.oxwall.org/store/oscl
*/
$billingService = BOL_BillingService::getInstance();
$gateway = new BOL_BillingGateway();
$gateway->gatewayKey = 'billingpaystack';
$gateway->adapterClassName = 'BILLINGPAYSTACK_CLASS_PaystackAdapter';
$gateway->active = 0;
$gateway->mobile = 1;
$gateway->recurring = 0;
$gateway->currencies = 'NGN';
$billingService->addGateway($gateway);
$billingService->addConfig('billingpaystack', 'liveModeSK', '');
$billingService->addConfig('billingpaystack', 'testModeSK', '');
$billingService->addConfig('billingpaystack', 'testMode', '0');
OW::getPluginManager()->addPluginSettingsRouteName('billingpaystack', 'billing_paystack_admin');
$path = OW::getPluginManager()->getPlugin('billingpaystack')->getRootDir() . 'langs.zip';
OW::getLanguage()->importPluginLangs($path, 'billingpaystack');