HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //proc/self/cwd/wp-content/plugins/Wompi_WooCommerce_Plugin_0.1.2/includes/admin/wompi-settings.php
<?php
defined( 'ABSPATH' ) || exit;

return apply_filters(
	'wc_wompi_settings',
	array(
		'enabled' => array(
			'title'       => __( 'Enable/Disable', 'woocommerce-gateway-wompi' ),
			'label'       => __( 'Enable Wompi', 'woocommerce-gateway-wompi' ),
			'type'        => 'checkbox',
			'description' => '',
			'default'     => 'no',
		),
		'title' => array(
			'title'       => __( 'Title', 'woocommerce-gateway-wompi' ),
			'type'        => 'text',
			'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-gateway-wompi' ),
			'default'     => 'Wompi',
			'desc_tip'    => true,
		),
		'description' => array(
			'title'       => __( 'Description', 'woocommerce-gateway-wompi' ),
			'type'        => 'text',
			'description' => __( 'This controls the description which the user sees during checkout.', 'woocommerce-gateway-wompi' ),
			'default'     => __( 'Pay via Wompi gateway.', 'woocommerce-gateway-wompi' ),
			'desc_tip'    => true,
		),
		'webhook' => array(
			'title'       => __( 'Webhook Endpoints', 'woocommerce-gateway-wompi' ),
			'type'        => 'title',
			'description' => sprintf( __( 'You must add the following webhook endpoint <strong class="wc_wompi-webhook-link">&nbsp;%s&nbsp;</strong> to your <a href="https://comercios.wompi.co/my-account" target="_blank">Wompi account settings</a> for both Production and Sandbox environments.', 'woocommerce-gateway-wompi' ), add_query_arg( 'wc-api', 'wc_wompi', trailingslashit( get_home_url() ) ) ),
		),
		'testmode' => array(
			'title'       => __( 'Test mode', 'woocommerce-gateway-wompi' ),
			'label'       => __( 'Enable Test Mode', 'woocommerce-gateway-wompi' ),
			'type'        => 'checkbox',
			'description' => __( 'Place the payment gateway in test mode using test API keys.', 'woocommerce-gateway-wompi' ),
			'default'     => 'yes',
			'desc_tip'    => true,
		),
		'test_public_key' => array(
			'title'       => __( 'Test Public Key', 'woocommerce-gateway-wompi' ),
			'type'        => 'text',
			'description' => __( 'Get your API keys from your Wompi account.', 'woocommerce-gateway-wompi' ),
			'default'     => '',
			'desc_tip'    => true,
		),
		'test_private_key' => array(
			'title'       => __( 'Test Private Key', 'woocommerce-gateway-wompi' ),
			'type'        => 'password',
			'description' => __( 'Get your API keys from your Wompi account.', 'woocommerce-gateway-wompi' ),
			'default'     => '',
			'desc_tip'    => true,
		),
		'test_event_secret_key' => array(
			'title'       => __( 'Test Event Private Key', 'woocommerce-gateway-wompi' ),
			'type'        => 'password',
			'description' => __( 'Get your API keys from your Wompi account.', 'woocommerce-gateway-wompi' ),
			'default'     => '',
			'desc_tip'    => true,
		),
		'public_key' => array(
			'title'       => __( 'Live Public Key', 'woocommerce-gateway-wompi' ),
			'type'        => 'text',
			'description' => __( 'Get your API keys from your Wompi account.', 'woocommerce-gateway-wompi' ),
			'default'     => '',
			'desc_tip'    => true,
		),
		'private_key' => array(
			'title'       => __( 'Live Private Key', 'woocommerce-gateway-wompi' ),
			'type'        => 'password',
			'description' => __( 'Get your API keys from your Wompi account.', 'woocommerce-gateway-wompi' ),
			'default'     => '',
			'desc_tip'    => true,
		),
		'event_secret_key' => array(
			'title'       => __( 'Live Event Private Key', 'woocommerce-gateway-wompi' ),
			'type'        => 'password',
			'description' => __( 'Get your API keys from your Wompi account.', 'woocommerce-gateway-wompi' ),
			'default'     => '',
			'desc_tip'    => true,
		),
		'logging' => array(
			'title'       => __( 'Logging', 'woocommerce-gateway-wompi' ),
			'label'       => __( 'Log debug messages', 'woocommerce-gateway-wompi' ),
			'type'        => 'checkbox',
			'description' => __( 'Save debug messages to the WooCommerce System Status log.', 'woocommerce-gateway-wompi' ),
			'default'     => 'no',
			'desc_tip'    => true,
		),
	)
);