Service.php
564 Bytes
<?php
namespace WebPlugin\Pay\Cmb;
use WebPlugin\Pay\PayAbstract;
use WebPlugin\Pay\Reqparams;
class Service extends PayAbstract
{
var $config ;
function __construct(array $paymentParams)
{
$this->config = new Config();
$myConfig = json_decode($paymentParams["pay_params"]) ;
$this->config->merchantAcctId = $myConfig->merchant_id;
$this->config->sp_key = $myConfig->merchant_key;
$this->config->branchID = $myConfig->merchant_other_code;
}
public function getPayRequestPars(Reqparams $params)
{
}
}