|
|
@ -3,19 +3,19 @@ namespace Org\SumaPay;
|
|
|
|
|
|
|
|
|
|
|
|
class Config
|
|
|
|
class Config
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private static $params = [
|
|
|
|
/* private static $params = [
|
|
|
|
'baseUrl' => 'https://www.sumapay.com',
|
|
|
|
'baseUrl' => 'https://www.sumapay.com',
|
|
|
|
'merchantCode' => 'HGJ_TEST',
|
|
|
|
'merchantCode' => 'HGJ_TEST',
|
|
|
|
'secretKey' => 'HENG-KEY',
|
|
|
|
'secretKey' => 'HENG-KEY',
|
|
|
|
'totalBizType' => 'BIZ01106',
|
|
|
|
'totalBizType' => 'BIZ01106',
|
|
|
|
];
|
|
|
|
]; */
|
|
|
|
|
|
|
|
|
|
|
|
/* private static $params = [
|
|
|
|
private static $params = [
|
|
|
|
'baseUrl' => 'https://www.sumapay.com',
|
|
|
|
'baseUrl' => 'https://www.sumapay.com',
|
|
|
|
'merchantCode' => '4610000027',
|
|
|
|
'merchantCode' => '4610000027',
|
|
|
|
'secretKey' => 'yT6tyOw0R0QqCccnChQyd4YJKKkM5czM',
|
|
|
|
'secretKey' => 'yT6tyOw0R0QqCccnChQyd4YJKKkM5czM',
|
|
|
|
'totalBizType' => 'BIZ01104',
|
|
|
|
'totalBizType' => 'BIZ01104',
|
|
|
|
]; */
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
public static function get($key, $default = null)
|
|
|
|
public static function get($key, $default = null)
|
|
|
|
{
|
|
|
|
{
|
|
|
|