Issues (235)

includes/settings-pagantis.php (1 issue)

Labels
Severity
1
<?php
2
3
if (!defined('ABSPATH')) {
4
    exit;
5
}
6
7
/**
8
 * Settings for Pagantis Gateway.
9
 */
10
return array(
11
    'enabled_4x' => array(
12
        'title'       => __('Activate the module 4x', 'pagantis'),
0 ignored issues
show
The function __ was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
        'title'       => /** @scrutinizer ignore-call */ __('Activate the module 4x', 'pagantis'),
Loading history...
13
        'type'        => 'checkbox',
14
        'default'     => 'yes'
15
    ),
16
    'pagantis_public_key_4x' => array(
17
        'title'       => __('Public Key 4x', 'pagantis'),
18
        'type'        => 'text',
19
        'description' => __('MANDATORY. You can get in your pagantis backoffice', 'pagantis')
20
    ),
21
    'pagantis_private_key_4x' => array(
22
        'title'       => __('Secret Key 4x', 'pagantis'),
23
        'type'        => 'text',
24
        'description' => __('MANDATORY. You can get in your pagantis backoffice', 'pagantis')
25
    ),
26
    'enabled' => array(
27
        'title'       => __('Activate the module 12x', 'pagantis'),
28
        'type'        => 'checkbox',
29
        'default'     => 'no'
30
    ),
31
    'pagantis_public_key' => array(
32
        'title'       => __('Public Key 12x', 'pagantis'),
33
        'type'        => 'text',
34
        'description' => __('You can get in your pagantis backoffice', 'pagantis')
35
    ),
36
    'pagantis_private_key' => array(
37
        'title'       => __('Secret Key 12x', 'pagantis'),
38
        'type'        => 'text',
39
        'description' => __('You can get in your pagantis backoffice', 'pagantis')
40
    ),
41
    'simulator' => array(
42
        'title'       => __('Simulator 12x', 'pagantis'),
43
        'type'        => 'checkbox',
44
        'default'     => 'no'
45
    )
46
);
47