| Current Path : /var/www/html/components/com_osmembership/plugins/ |
| Current File : /var/www/html/components/com_osmembership/plugins/os_eway.php |
<?php
/**
* @package Joomla
* @subpackage Membership Pro
* @author Tuan Pham Ngoc
* @copyright Copyright (C) 2012 - 2026 Ossolution Team
* @license GNU/GPL, see LICENSE.php
*/
defined('_JEXEC') or die;
use Joomla\Registry\Registry;
class os_eway extends MPFPaymentOmnipay
{
protected $omnipayPackage = 'Eway_Direct';
/**
* Constructor
*
* @param Registry $params
* @param array $config
*/
public function __construct($params, $config = ['type' => 1])
{
$config['params_map'] = [
'customerId' => 'eway_customer_id',
'testMode' => 'eway_mode',
];
parent::__construct($params, $config);
}
}