PluginProbe
MONEI Payments for WooCommerce / 5.1.0
MONEI Payments for WooCommerce v5.1.0
7.3.3 7.3.2 7.3.1 7.3.0 7.2.4 7.2.3 7.2.2 7.2.0 7.2.1 7.1.3 2.1.0 3.0.0 3.1.0 3.1.1 4.0.0 4.1.0 4.1.1 4.2.0 4.2.1 5.0 5.1.0 5.1.1 5.1.2 5.2.2 5.2.3 All 87 releases
monei / includes / admin / monei-paypal-settings.php

monei-paypal-settings.php in MONEI Payments for WooCommerce 5.1.0, at includes/admin/monei-paypal-settings.php

65 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit;
4 }
5
6 /**
7 * Money Paypal Gateway Settings.
8 */
9 return apply_filters(
10 'wc_monei_paypal_settings',
11 array(
12 'enabled' => array(
13 'title' => __( 'Enable/Disable', 'monei' ),
14 'type' => 'checkbox',
15 'label' => __( 'Enable PayPal by MONEI', 'monei' ),
16 'default' => 'no',
17 ),
18 'title' => array(
19 'title' => __( 'Title', 'monei' ),
20 'type' => 'text',
21 'description' => __( 'The payment method title a user sees during checkout.', 'monei' ),
22 'default' => __( 'PayPal', 'monei' ),
23 'desc_tip' => true,
24 ),
25 'description' => array(
26 'title' => __( 'Description', 'monei' ),
27 'type' => 'textarea',
28 'description' => __( 'The payment method description a user sees during checkout.', 'monei' ),
29 'default' => __( 'Pay with PayPal, you will be redirected to PayPal. Powered by MONEI.', 'monei' ),
30 ),
31 'hide_logo' => array(
32 'title' => __( 'Hide Logo', 'monei' ),
33 'type' => 'checkbox',
34 'label' => __( 'Hide payment method logo', 'monei' ),
35 'default' => 'no',
36 'description' => __( 'Hide payment method logo in the checkout.', 'monei' ),
37 'desc_tip' => true,
38 ),
39 'apikey' => array(
40 'title' => __( 'API Key', 'monei' ),
41 'type' => 'text',
42 'description' => __( 'You can find your API key in <a href="https://dashboard.monei.com/settings/api" target="_blank">MONEI Dashboard</a>.<br/> Account ID and API key in the test mode are different from the live<br/> (production) mode and can only be used for testing purposes.', 'monei' ),
43 'desc_tip' => 'no',
44 ),
45 'orderdo' => array(
46 'title' => __( 'What to do after payment?', 'monei' ),
47 'type' => 'select',
48 'description' => __( 'Chose what to do after the customer pay the order.', 'monei' ),
49 'default' => 'processing',
50 'options' => array(
51 'processing' => __( 'Mark as Processing (default & recommended)', 'monei' ),
52 'completed' => __( 'Mark as Complete', 'monei' ),
53 ),
54 ),
55 'debug' => array(
56 'title' => __( 'Debug Log', 'monei' ),
57 'type' => 'checkbox',
58 'label' => __( 'Enable logging', 'monei' ),
59 'default' => 'no',
60 'description' => __( 'Log MONEI events, such as notifications requests, inside <code>WooCommerce > Status > Logs > Select MONEI Logs</code>', 'monei' ),
61 ),
62 )
63 );
64
65