# payplug/2.10.0/src/Gateway/PPRO/Satispay.php

PayPlug for WooCommerce (Official), version 2.10.0. 43 lines.

- Page: https://pluginprobe.com/plugins/payplug/2.10.0/code/src/Gateway/PPRO/Satispay.php
- Raw: https://pluginprobe.com/plugins/payplug/2.10.0/raw/src/Gateway/PPRO/Satispay.php
- Modified: 2024-10-24T16:13:54+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/2.10.0/code/src/Gateway/PPRO/Satispay.php#L10-L20`.

```php
<?php

namespace Payplug\PayplugWoocommerce\Gateway\PPRO;

use Payplug\PayplugWoocommerce\Controller\PayplugGenericGateway;

class Satispay  extends PayplugGenericGateway
{

	protected $min_thresholds;
	protected $max_thresholds;
	protected $allowed_country_codes = [];
	protected $enable_refund = false;
	const ENABLE_ON_TEST_MODE = false;

	public function __construct()
	{

		parent::__construct();

		//since we're calling the parent construct we need to redefine the payment properties
		//once we detach the cc from default payment method, this will be no longer needed
		$this->id = 'satispay';
		$this->method_title = __("pay_with_satispay", "payplug");
		$this->title = __("pay_with_satispay", "payplug");
		$this->method_description = "";
		$this->description = "";
		$this->image = 'satispay.svg';

		//WOOCO FIELDS
		$this->has_fields = false;
		$this->enabled = "yes";

		if (!$this->checkGateway()) {
			$this->enabled = "no";
		}

		add_action('woocommerce_order_item_add_action_buttons', [$this, 'refund_not_available']);

	}

}

```
