HEX
Server: nginx/1.18.0
System: Linux oas2 6.8.0-1039-oracle #40~22.04.1-Ubuntu SMP Wed Oct 29 05:11:00 UTC 2025 aarch64
User: root (0)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: /var/www/ecom/wp-content/plugins/payoneer-checkout/modules/inpsyde/payoneer-webhooks/inc/fields.php
<?php

declare (strict_types=1);
namespace Syde\Vendor;

use Syde\Vendor\Dhii\Services\Factory;
use Syde\Vendor\Psr\Http\Message\UriInterface;
return new Factory(['webhooks.notification_url'], static function (UriInterface $notificationUrl): array {
    return ['webhook_endpoints_fieldset_title' => [
        /* translators: Title of the endpoint settings section */
        'title' => \__('Endpoints', 'payoneer-checkout'),
        'type' => 'title',
        'class' => 'section-payoneer-general',
    ], 'webhook_endpoints_endpoint_url' => [
        /* translators: Title of the endpoint URL settings field */
        'title' => \__('Payment notifications URL', 'payoneer-checkout'),
        'type' => 'text',
        'default' => (string) $notificationUrl,
        'description' => \__('Please make sure the URL is not blocked by a firewall', 'payoneer-checkout'),
        'class' => 'section-payoneer-general',
        'custom_attributes' => ['readonly' => 'readonly'],
    ]];
});