-
Notifications
You must be signed in to change notification settings - Fork 0
/
unelmapay-settings.php
44 lines (42 loc) · 1.59 KB
/
unelmapay-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
<?php
if (!defined('ABSPATH')) {
exit;
}
return apply_filters(
'wc_unelmapay_gateway_settings', array(
'enabled' => array(
'title' => __('Enable/Disable', 'unelmapay_gateway'),
'type' => 'checkbox',
'label' => __('Enable Unelmapay Payment', 'unelmapay_gateway'),
'default' => 'yes'
),
'title' => array(
'title' => __('Title', 'unelmapay_gateway'),
'type' => 'text',
'description' => __('This controls the title for the payment method the customer sees during checkout.', 'unelmapay_gateway'),
'default' => __('Credit Or Debit Card', 'unelmapay_gateway'),
'desc_tip' => true,
),
'description' => array(
'title' => __('Description', 'unelmapay_gateway'),
'type' => 'textarea',
'description' => __('Payment method description that the customer will see on your checkout.', 'unelmapay_gateway'),
'default' => __('Pay Securely With Unelmapay.', 'unelmapay_gateway'),
'desc_tip' => true,
),
'merchant_id' => array(
'title' => __('Merchant ID', 'unelmapay_gateway'),
'type' => 'text',
'description' => __('Used for payment.', 'unelmapay_gateway'),
'default' => '',
'desc_tip' => true,
),
'api_key' => array(
'title' => __('API Key', 'woocommerce-integration-demo'),
'type' => 'text',
'description' => __('Enter with your API Key. You can find this in "User Profile" drop-down (top right corner) > API Keys.', 'woocommerce-integration-demo'),
'desc_tip' => true,
'default' => ''
),
)
);