# payplug/2.6.3/src/Gateway/Bancontact.php

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

- Page: https://pluginprobe.com/plugins/payplug/2.6.3/code/src/Gateway/Bancontact.php
- Raw: https://pluginprobe.com/plugins/payplug/2.6.3/raw/src/Gateway/Bancontact.php
- Modified: 2023-10-09T14:47:20+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.6.3/code/src/Gateway/Bancontact.php#L10-L20`.

```php
<?php

namespace Payplug\PayplugWoocommerce\Gateway;

use Payplug\Exception\HttpException;
use Payplug\PayplugWoocommerce\Controller\PayplugGenericGateway;

class Bancontact  extends PayplugGenericGateway
{

	protected $enable_refund = true;

	public function __construct()
	{

		parent::__construct();

		/** @var \WC_Settings_API  override $id */
		$this->id                 = 'bancontact';

		/** @var \WC_Payment_Gateway overwrite for bancontact settings  */
		$this->method_title       = __('payplug_bancontact_title', 'payplug');
		$this->method_description = __('payplug_bancontact_description', 'payplug');

		$this->title = __('payplug_bancontact_title', 'payplug');
		$this->description = '';
		$this->has_fields = false;
		$this->image = 'lg-bancontact-checkout.svg';

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

	}

}

```
