stanley-king hace 8 años
padre
commit
076925de26
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      helper/pay/cmbpay.php

+ 4 - 2
helper/pay/cmbpay.php

@@ -10,6 +10,8 @@ namespace Pay;
 
 define('CMPPAY_ONLINE',true);
 
+use Log;
+
 class NotifyData
 {
     private $mParam;
@@ -129,14 +131,13 @@ class NotifyData
 
 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_payurl  = BASE_SITE_URL . '/mobile/cmbpay_notify.php';
     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_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()
     {
@@ -200,6 +201,7 @@ class cmbpay implements IPay
         if($nofity->check()) {
             return $nofity->format();
         } else {
+            Log::record('招行支付回调错误',Log::ERR);
             return false;
         }
     }