diff --git a/mobile/plugins/payment/wxpay.php b/mobile/plugins/payment/wxpay.php index 3e1d2ce..981425d 100755 --- a/mobile/plugins/payment/wxpay.php +++ b/mobile/plugins/payment/wxpay.php @@ -221,7 +221,7 @@ class wxpay // 从大连支付接口返回的参数 $this->parameters["appid"] = $payinfo['appId']; // 公众账号ID - $this->parameters["mch_id"] = '100018380507D2C'; // 商户号 sc_test + $this->parameters["mch_id"] = '5503001'; // 商户号 sc_test // $this->parameters["spbill_create_ip"] = $_SERVER['REMOTE_ADDR']; // 终端ip $this->parameters["nonce_str"] = $payinfo['nonceStr']; // 随机字符串 $this->parameters["sign"] = $payinfo['paySign']; // 签名 diff --git a/mobile/source/helpers/dalianpay/cert/test.php b/mobile/source/helpers/dalianpay/cert/test.php new file mode 100644 index 0000000..1ff54b3 --- /dev/null +++ b/mobile/source/helpers/dalianpay/cert/test.php @@ -0,0 +1,59 @@ + diff --git a/mobile/source/helpers/dalianpay/demo/dalianpay.php b/mobile/source/helpers/dalianpay/demo/dalianpay.php index be8ef6d..958abf0 100644 --- a/mobile/source/helpers/dalianpay/demo/dalianpay.php +++ b/mobile/source/helpers/dalianpay/demo/dalianpay.php @@ -91,7 +91,7 @@ class dalianpay{ // 'body' => 'pages', 'acct' => $openid, // 'notify_url' => $config['notify_url'], // 交易结果通知地址 - 'sub_appid' => $config['sub_appid'], + // 'sub_appid' => $config['sub_appid'], // 'front_url' => '', // 支付完成跳转 );