# payplug/3.1.0/src/Gateway/Blocks/PayplugOney3xWithoutFees.php

PayPlug for WooCommerce (Official), version 3.1.0. 37 lines.

- Page: https://pluginprobe.com/plugins/payplug/3.1.0/code/src/Gateway/Blocks/PayplugOney3xWithoutFees.php
- Raw: https://pluginprobe.com/plugins/payplug/3.1.0/raw/src/Gateway/Blocks/PayplugOney3xWithoutFees.php
- Modified: 2026-09-25T08:27:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/payplug/3.1.0/code/src/Gateway/Blocks/PayplugOney3xWithoutFees.php#L10-L20`.

```php
<?php

namespace Payplug\PayplugWoocommerce\Gateway\Blocks;

use Payplug\PayplugWoocommerce\PayplugWoocommerceHelper;

class PayplugOney3xWithoutFees extends PayplugOney
{
    /**
     * Payment method name/id/slug.
     *
     * @var string
     */
    protected $name = 'oney_x3_without_fees';

    protected $icon = 'x3_without_fees_';

    public function get_payment_method_data()
    {
        $data = parent::get_payment_method_data();

        $country = PayplugWoocommerceHelper::getISOCountryCode();
        if (file_exists(PAYPLUG_GATEWAY_PLUGIN_URL . 'assets/images/checkout/' . $this->icon . $country . '.svg')) {
            $image = PAYPLUG_GATEWAY_PLUGIN_URL . 'assets/images/checkout/' . $this->icon . $country . '.svg';
        } else {
            $image = PAYPLUG_GATEWAY_PLUGIN_URL . 'assets/images/checkout/' . $this->icon . 'FR.svg';
        }
        $data['icon'] = [
            'src' => $image,
            'class' => 'payplug-payment-icon',
            'alt' => $this->gateway->title,
        ];

        return $data;
    }
}

```
