-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmetadata.php
More file actions
113 lines (112 loc) · 4.15 KB
/
Copy pathmetadata.php
File metadata and controls
113 lines (112 loc) · 4.15 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
<?php
/**
* Metadata version
*/
$sMetadataVersion = '2.1';
/**
* Module information
*/
$aModule = [
'id' => 'unzer_payment',
'title' => 'Unzer Payment',
'description' => [
'de' => 'Bezahlung mit Unzer',
'en' => 'Payment with Unzer'
],
'thumbnail' => 'admin/unzer_payment.png',
'lang' => 'en',
'version' => '1.1.7',
'author' => 'Unzer GmbH',
'email' => 'info@unzer.com',
'url' => 'https://www.unzer.com/',
'extend' => [
\OxidEsales\Eshop\Application\Model\PaymentGateway::class => \Unzer\UnzerPayment\Model\PaymentGateway::class,
\OxidEsales\Eshop\Application\Model\Payment::class => \Unzer\UnzerPayment\Model\Payment::class,
\OxidEsales\Eshop\Application\Model\Order::class => \Unzer\UnzerPayment\Model\Order::class,
\OxidEsales\Eshop\Core\ViewConfig::class => \Unzer\UnzerPayment\Core\ViewConfig::class,
\OxidEsales\Eshop\Application\Controller\Admin\ModuleConfiguration::class => \Unzer\UnzerPayment\Controller\Admin\ModuleConfiguration::class,
\OxidEsales\Eshop\Application\Controller\Admin\OrderList::class => \Unzer\UnzerPayment\Controller\Admin\OrderList::class,
\OxidEsales\Eshop\Application\Controller\OrderController::class => \Unzer\UnzerPayment\Controller\OrderController::class,
\OxidEsales\Eshop\Application\Controller\PaymentController::class => \Unzer\UnzerPayment\Controller\PaymentController::class,
\OxidEsales\Eshop\Application\Controller\ThankYouController::class => \Unzer\UnzerPayment\Controller\ThankYouController::class,
],
'controllers' => [
'unzer_payment_webhook' => \Unzer\UnzerPayment\Controller\WebhookController::class,
'unzer_payment_admin_order' => \Unzer\UnzerPayment\Controller\Admin\AdminOrderController::class,
],
'events' => [
'onActivate' => \Unzer\UnzerPayment\Core\Events::class . '::onActivate',
'onDeactivate' => \Unzer\UnzerPayment\Core\Events::class . '::onDeactivate',
],
'settings' => [
[
'group' => 'unzer_payment_main',
'name' => 'UnzerPaymentMode',
'type' => 'select',
'value' => '0',
'constraints' => '0|1'
],
[
'group' => 'unzer_payment_main',
'name' => 'UnzerPaymentPublicKey',
'type' => 'str',
'value' => ''
],
[
'group' => 'unzer_payment_main',
'name' => 'UnzerPaymentPrivateKey',
'type' => 'str',
'value' => ''
],
[
'group' => 'unzer_payment_main',
'name' => 'UnzerPaymentLogLevel',
'type' => 'select',
'value' => 'ERROR',
'constraints' => 'ERROR|WARNING|DEBUG'
],
[
'group' => 'unzer_payment_specific',
'name' => 'UnzerPaymentCardChargeMode',
'type' => 'select',
'value' => 'authorize|charge',
'constraints' => 'authorize|charge',
],
[
'group' => 'unzer_payment_specific',
'name' => 'UnzerPaymentApplepayChargeMode',
'type' => 'select',
'value' => 'authorize|charge',
'constraints' => 'authorize|charge',
],
[
'group' => 'unzer_payment_specific',
'name' => 'UnzerPaymentGooglepayChargeMode',
'type' => 'select',
'value' => 'authorize|charge',
'constraints' => 'authorize|charge',
],
[
'group' => 'unzer_payment_specific',
'name' => 'UnzerPaymentPaypalChargeMode',
'type' => 'select',
'value' => 'authorize|charge',
'constraints' => 'authorize|charge',
],
/*
[
'group' => 'unzer_payment_specific',
'name' => 'UnzerPaymentWeroChargeMode',
'type' => 'select',
'value' => 'authorize|charge',
'constraints' => 'authorize|charge',
],
*/
[
'group' => 'unzer_payment_specific',
'name' => 'UnzerPaymentClickToPay',
'type' => 'bool',
'value' => false
]
],
];