-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmetadata.php
More file actions
executable file
·185 lines (180 loc) · 11.7 KB
/
metadata.php
File metadata and controls
executable file
·185 lines (180 loc) · 11.7 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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?php
/**
*
* Copyright (c) Ratepay GmbH
*
*For the full copyright and license information, please view the LICENSE
*file that was distributed with this source code.
*/
/**
* Metadata version
*/
$sMetadataVersion = '2.0';
/**
* Module information
*/
$librarySubModel = 'pi/ratepay/library/src/Model/Request/SubModel/';
$libraryModel = 'pi/ratepay/library/src/Model/';
$librarySubModelContent = 'RatePAY\Model\Request\SubModel\Content';
$aModule = array(
'id' => 'ratepay',
'title' => 'Ratepay',
'description' => array(
'de' => 'Bezahlung mit Ratepay',
'en' => 'Payment with Ratepay'
),
'thumbnail' => 'ratepay_logo.png',
'lang' => 'en',
'version' => '6.2.2',
'author' => 'Ratepay GmbH',
'email' => 'integration@ratepay.com',
'url' => 'http://www.ratepay.com/',
'extend' => array(
// Extend controllers
\OxidEsales\Eshop\Application\Controller\Admin\ModuleConfiguration::class => \pi\ratepay\Extend\Application\Controller\Admin\RatepayModuleConfig::class,
\OxidEsales\Eshop\Application\Controller\OrderController::class => \pi\ratepay\Extend\Application\Controller\RatepayOrder::class,
\OxidEsales\Eshop\Application\Controller\PaymentController::class => \pi\ratepay\Extend\Application\Controller\RatepayPayment::class,
// Extend model
\OxidEsales\Eshop\Application\Model\Order::class => \pi\ratepay\Extend\Application\Model\RatepayOxorder::class,
\OxidEsales\Eshop\Application\Model\PaymentGateway::class => \pi\ratepay\Extend\Application\Model\RatepayPaymentGateway::class,
),
'controllers' => array (
'RatepayAdminListBase' => \pi\ratepay\Application\Controller\Admin\AdminListBase::class,
'RatepayAdminViewBase' => \pi\ratepay\Application\Controller\Admin\AdminViewBase::class,
'RatepayDetails' => \pi\ratepay\Application\Controller\Admin\Details::class,
'RatepayLog' => \pi\ratepay\Application\Controller\Admin\Log::class,
'RatepayLogList' => \pi\ratepay\Application\Controller\Admin\LogList::class,
'RatepayLogMain' => \pi\ratepay\Application\Controller\Admin\LogMain::class,
'RatepayProfile' => \pi\ratepay\Application\Controller\Admin\Profile::class,
'RatepayProfileList' => \pi\ratepay\Application\Controller\Admin\ProfileList::class,
'RatepayProfileMain' => \pi\ratepay\Application\Controller\Admin\ProfileMain::class,
'RatepayRate0Calc' => \pi\ratepay\Application\Controller\Rate0Calc::class,
'RatepayRateCalc' => \pi\ratepay\Application\Controller\RateCalc::class,
'RatepayModuleConfig' => \pi\ratepay\Extend\Application\Controller\Admin\RatepayModuleConfig::class,
'RatepayOrder' => \pi\ratepay\Extend\Application\Controller\RatepayOrder::class,
'RatepayPayment' => \pi\ratepay\Extend\Application\Controller\RatepayPayment::class,
),
'templates' => array(
// views->admin
'pi_ratepay_log.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_log.tpl',
'pi_ratepay_log_list.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_log_list.tpl',
'pi_ratepay_log_main.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_log_main.tpl',
'pi_ratepay_details.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_details.tpl',
'pi_ratepay_no_details.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_no_details.tpl',
'pi_ratepay_profile.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_profile.tpl',
'pi_ratepay_profile_list.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_profile_list.tpl',
'pi_ratepay_profile_main.tpl' => 'pi/ratepay/Application/views/admin/tpl/pi_ratepay_profile_main.tpl',
),
'events' => array(
'onActivate' => '\pi\ratepay\Core\Events::onActivate',
'onDeactivate' => '\pi\ratepay\Core\Events::onDeactivate',
),
'blocks' => array(
array(
'template' => 'page/checkout/payment.tpl',
'block' => 'checkout_payment_errors',
'file' => 'payment_pi_ratepay_error_dfp.tpl'
),
array(
'template' => 'page/checkout/payment.tpl',
'block' => 'select_payment',
'file' => 'payment_pi_ratepay_rechnung.tpl'
),
array(
'template' => 'page/checkout/payment.tpl',
'block' => 'select_payment',
'file' => 'payment_pi_ratepay_rate.tpl'
),
array(
'template' => 'page/checkout/payment.tpl',
'block' => 'select_payment',
'file' => 'payment_pi_ratepay_rate0.tpl'
),
array(
'template' => 'page/checkout/payment.tpl',
'block' => 'select_payment',
'file' => 'payment_pi_ratepay_elv.tpl'
),
array(
'template' => 'page/checkout/order.tpl',
'block' => 'checkout_order_main',
'file' => 'order_pi_ratepay_waitingwheel.tpl'
),
array(
'template' => 'page/checkout/order.tpl',
'block' => 'shippingAndPayment',
'file' => 'order_pi_ratepay_rate.tpl'
),
array(
'template' => 'module_config.tpl',
'block' => 'admin_module_config_form',
'file' => 'admin_pi_ratepay_module_config_form.tpl',
),
array(
'template' => 'module_config.tpl',
'block' => 'admin_module_config_var_type_select',
'file' => 'admin_pi_ratepay_module_config_var_type_select.tpl',
),
),
'settings' => array(
// ratepay general
array('group' => 'PI_RATEPAY_GENERAL', 'name' => 'blRPLogging', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GENERAL', 'name' => 'blRPAutoPaymentConfirm', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GENERAL', 'name' => 'sRPDeviceFingerprintSnippetId', 'type' => 'str', 'value' => ''),
// ratepay germany invoice
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPInvoiceActive', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPInvoiceSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPInvoiceProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPInvoiceSecret', 'type' => 'str', 'value' => ''),
// ratepay germany installment
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPInstallmentActive', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPInstallmentSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPInstallmentProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPInstallmentSecret', 'type' => 'str', 'value' => ''),
// ratepay germany installment 0%
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPInstallment0Active', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPInstallment0Sandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPInstallment0ProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPInstallment0Secret', 'type' => 'str', 'value' => ''),
// ratepay germany elv
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPElvActive', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'blRPElvSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPElvProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_GERMANY', 'name' => 'sRPElvSecret', 'type' => 'str', 'value' => ''),
// ratepay austria invoice
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaInvoice', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaInvoiceSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaInvoiceProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaInvoiceSecret', 'type' => 'str', 'value' => ''),
// ratepay austria installment
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaInstallment', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaInstallmentSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaInstallmentProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaInstallmentSecret', 'type' => 'str', 'value' => ''),
// ratepay austria installment 0%
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaInstallment0', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaInstallment0Sandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaInstallment0ProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaInstallment0Secret', 'type' => 'str', 'value' => ''),
// ratepay austria elv
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaElv', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'blRPAustriaElvSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaElvProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_AUSTRIA', 'name' => 'sRPAustriaElvSecret', 'type' => 'str', 'value' => ''),
// ratepay switzerland invoice
array('group' => 'PI_RATEPAY_SWITZERLAND', 'name' => 'blRPSwitzerlandInvoice', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_SWITZERLAND', 'name' => 'blRPSwitzerlandInvoiceSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_SWITZERLAND', 'name' => 'sRPSwitzerlandInvoiceProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_SWITZERLAND', 'name' => 'sRPSwitzerlandInvoiceSecret', 'type' => 'str', 'value' => ''),
// ratepay netherland invoice
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'blRPNetherlandInvoice', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'blRPNetherlandInvoiceSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'sRPNetherlandInvoiceProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'sRPNetherlandInvoiceSecret', 'type' => 'str', 'value' => ''),
// ratepay netherland elv
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'blRPNetherlandElv', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'blRPNetherlandElvSandbox', 'type' => 'bool', 'value' => false),
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'sRPNetherlandElvProfileId', 'type' => 'str', 'value' => ''),
array('group' => 'PI_RATEPAY_NETHERLAND', 'name' => 'sRPNetherlandElvSecret', 'type' => 'str', 'value' => ''),
),
);