|
@@ -10,6 +10,8 @@ namespace Pay;
|
|
|
|
|
|
define('CMPPAY_ONLINE',true);
|
|
define('CMPPAY_ONLINE',true);
|
|
|
|
|
|
|
|
+use Log;
|
|
|
|
+
|
|
class NotifyData
|
|
class NotifyData
|
|
{
|
|
{
|
|
private $mParam;
|
|
private $mParam;
|
|
@@ -129,14 +131,13 @@ class NotifyData
|
|
|
|
|
|
class cmbpay implements IPay
|
|
class cmbpay implements IPay
|
|
{
|
|
{
|
|
- const pay_url = 'http://61.144.248.29:801/netpayment/BaseHttp.dll?PrePayEUserP';
|
|
|
|
const notify_signurl = BASE_SITE_URL . '/mobile/cmbpay_sign.php';
|
|
const notify_signurl = BASE_SITE_URL . '/mobile/cmbpay_sign.php';
|
|
const notify_payurl = BASE_SITE_URL . '/mobile/cmbpay_notify.php';
|
|
const notify_payurl = BASE_SITE_URL . '/mobile/cmbpay_notify.php';
|
|
const app_returl = BASE_SITE_URL . '/mobile/index.php?act=pay_return&op=cmbpay';
|
|
const app_returl = BASE_SITE_URL . '/mobile/index.php?act=pay_return&op=cmbpay';
|
|
|
|
|
|
const debug_notify_signurl = 'http://121.43.114.153/mobile/cmbpay_sign.php';
|
|
const debug_notify_signurl = 'http://121.43.114.153/mobile/cmbpay_sign.php';
|
|
const debug_notify_payurl = 'http://121.43.114.153/mobile/cmbpay_notify.php';
|
|
const debug_notify_payurl = 'http://121.43.114.153/mobile/cmbpay_notify.php';
|
|
- const debug_app_returl = 'http://121.43.114.153/mobile/index.php';
|
|
|
|
|
|
+ const debug_app_returl = 'http://121.43.114.153/mobile/index.php?act=pay_return&op=cmbpay';
|
|
|
|
|
|
static public function config()
|
|
static public function config()
|
|
{
|
|
{
|
|
@@ -200,6 +201,7 @@ class cmbpay implements IPay
|
|
if($nofity->check()) {
|
|
if($nofity->check()) {
|
|
return $nofity->format();
|
|
return $nofity->format();
|
|
} else {
|
|
} else {
|
|
|
|
+ Log::record('招行支付回调错误',Log::ERR);
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
}
|