-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkamba-settings.php
executable file
·58 lines (56 loc) · 2.05 KB
/
kamba-settings.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
47
48
49
50
51
52
53
54
55
56
57
58
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
return array(
'enabled' => array(
'title' => __( 'Enable/Disable', 'woocommerce' ),
'type' => 'checkbox',
'label' => __( 'Habilitar Kamba Checkout', 'kamba' ),
'default' => 'yes'
),
'title' => array(
'title' => __( 'Title*', 'woocommerce' ),
'type' => 'text',
'description' => __( 'Descrição que o usuário vê durante o checkout.', 'woocommerce' ),
'default' => __( 'Kamba', 'woocommerce' ),
'desc_tip' => true,
),
'description' => array(
'title' => __( 'Description', 'woocommerce' ),
'type' => 'text',
'desc_tip' => true,
'description' => __( 'Descrição que o usuário vê durante o checkout.', 'woocommerce' ),
'default' => __( 'Pagar com Kamba Checkout', 'kamba' )
),
'api_details' => array(
'title' => __( 'Chaves de API', 'kamba' ),
'type' => 'title',
'description' => '',
),
'client_id' => array(
'title' => __( 'Merchant ID*', 'kamba' ),
'type' => 'text',
'description' => __( 'O seu Merchant ID está disponível na sua conta comerciante, no menu Integrações', 'instamojo' ),
'desc_tip' => true,
),
'client_secret' => array(
'title' => __( 'Chave de API*', 'woocommerce' ),
'type' => 'text',
'description' => __( 'A sua chave de API está disponível na sua conta comerciante, no menu Integrações', 'woocommerce' ),
'desc_tip' => true,
),
'testmode' => array(
'title' => __( 'Modo Sandbox', 'kamba' ),
'type' => 'checkbox',
'label' => __( 'Habilitar modo Sandbox', 'kamba' ),
'default' => 'no',
'description' => sprintf( __( 'Para habilitar o modo Sandbox crie uma conta Comerciante de testes em %s', 'woocommerce' ), 'https://comerciante.usekamba.com/' ),
),
'checkout_url' => array(
'title' => __( 'URL do checkout*', 'woocommerce' ),
'type' => 'text',
'description' => __('Url que irá apresentar o código qr do checkout', 'woocommerce' ),
'desc_tip' => '',
),
);