403Webshell
Server IP : 38.190.208.107  /  Your IP : 216.73.217.46
Web Server : nginx/1.28.1
System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64
User : root ( 0)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/wp.5/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-compat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/wp.5/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-compat/services.php
<?php

/**
 * The compatibility module services.
 *
 * @package WooCommerce\PayPalCommerce\Compat
 */
declare (strict_types=1);
namespace WooCommerce\PayPalCommerce\Compat;

use WooCommerce\PayPalCommerce\Assets\AssetGetter;
use WooCommerce\PayPalCommerce\Assets\AssetGetterFactory;
use WooCommerce\PayPalCommerce\Compat\Assets\CompatAssets;
use WooCommerce\PayPalCommerce\Settings\Data\SettingsProvider;
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
return array('compat.ppec.mock-gateway' => static function ($container) {
    $settings = $container->get('settings.settings-provider');
    assert($settings instanceof SettingsProvider);
    $title = sprintf(
        /* Translators: placeholder is the gateway name. */
        __('%s (Legacy)', 'woocommerce-paypal-payments'),
        $settings->paypal_gateway_title()
    );
    return new \WooCommerce\PayPalCommerce\Compat\PPEC\MockGateway($title);
}, 'compat.ppec.billing-agreement-converter' => static function (ContainerInterface $container) {
    return new \WooCommerce\PayPalCommerce\Compat\PPEC\BillingAgreementTokenConverter($container->get('api.endpoint.payment-method-tokens'), $container->get('api.repository.customer'), $container->get('woocommerce.logger.woocommerce'));
}, 'compat.ppec.subscriptions-handler' => static function (ContainerInterface $container) {
    return new \WooCommerce\PayPalCommerce\Compat\PPEC\SubscriptionsHandler($container->get('wc-subscriptions.renewal-handler'), $container->get('compat.ppec.mock-gateway'), $container->get('compat.ppec.billing-agreement-converter'), $container->get('woocommerce.logger.woocommerce'), $container->get('vaulting.vault-v3-enabled'));
}, 'compat.plugin-script-names' => static function (ContainerInterface $container): array {
    return array('ppcp-smart-button', 'ppcp-oxxo', 'ppcp-pay-upon-invoice', 'ppcp-vaulting-myaccount-payments', 'ppcp-gateway-settings', 'ppcp-webhooks-status-page', 'ppcp-tracking', 'ppcp-fraudnet', 'ppcp-tracking-compat');
}, 'compat.plugin-script-file-names' => static function (ContainerInterface $container): array {
    return array('button.js', 'gateway-settings.js', 'order-edit-page.js', 'fraudnet.js', 'tracking-compat.js');
}, 'compat.shiptastic.is_supported_plugin_version_active' => function (): bool {
    return function_exists('wc_stc_get_shipments');
}, 'compat.wc_shipment_tracking.is_supported_plugin_version_active' => function (): bool {
    return class_exists('WC_Shipment_Tracking');
}, 'compat.ywot.is_supported_plugin_version_active' => function (): bool {
    return function_exists('yith_ywot_init');
}, 'compat.dhl.is_supported_plugin_version_active' => function (): bool {
    return function_exists('PR_DHL');
}, 'compat.shipstation.is_supported_plugin_version_active' => function (): bool {
    return function_exists('woocommerce_shipstation_init');
}, 'compat.wc_shipping_tax.is_supported_plugin_version_active' => function (): bool {
    return class_exists('WC_Connect_Loader');
}, 'compat.nyp.is_supported_plugin_version_active' => function (): bool {
    return function_exists('wc_nyp_init');
}, 'compat.wc_bookings.is_supported_plugin_version_active' => function (): bool {
    return class_exists('WC_Bookings');
}, 'compat.asset_getter' => static function (ContainerInterface $container): AssetGetter {
    $factory = $container->get('assets.asset_getter_factory');
    assert($factory instanceof AssetGetterFactory);
    return $factory->for_module('ppcp-compat');
}, 'compat.assets' => function (ContainerInterface $container): CompatAssets {
    return new CompatAssets($container->get('compat.asset_getter'), $container->get('ppcp.asset-version'), $container->get('compat.shiptastic.is_supported_plugin_version_active'), $container->get('compat.wc_shipment_tracking.is_supported_plugin_version_active'), $container->get('compat.wc_shipping_tax.is_supported_plugin_version_active'), $container->get('api.bearer'));
});

Youez - 2016 - github.com/yon3zu
LinuXploit