forked from rukykf/btcpay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
btcpay.mgd.php
47 lines (44 loc) · 1.71 KB
/
btcpay.mgd.php
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
<?php
/**
* Package: BTCPay (CiviCRM Extension)
* Copyright (C) 2020, Kofi Oghenerukevwe <[email protected]>
* Licensed under the GNU Affero Public License 3.0
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3 of the license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
**/
/**
* The record will be automatically inserted, updated, or deleted from the
* database as appropriate. For more details, see "hook_civicrm_managed" at:
* http://wiki.civicrm.org/confluence/display/CRMDOC/Hook+Reference
*
*/
return array(
0 => array(
'name' => 'Btcpay',
'entity' => 'payment_processor_type',
'params' => array(
'version' => 3,
'title' => 'Btcpay',
'name' => 'btcpay',
'description' => 'BTCPay Payment Processor',
'user_name_label' => 'API Key',
'password_label' => 'Private Key decryption password',
'signature_label' => 'Pairing Token',
'class_name' => 'Payment_Btcpay',
'url_site_default' => 'https://testnet.demo.btcpayserver.org/', // to be replaced with url of self-hosted btcpay server url during payment processor creation
'url_site_test_default' => 'https://testnet.demo.btcpayserver.org/',
'is_recur' => 0,
'billing_mode' => 1,
),
)
);