Browse Source

test different mch_id and appid

master
用户名 3 years ago
parent
commit
4b56e43af1
  1. 2
      mobile/plugins/payment/wxpay.php

2
mobile/plugins/payment/wxpay.php

@ -232,7 +232,7 @@ class wxpay
unset($_SESSION['org_num']); unset($_SESSION['org_num']);
// echo "\r\n" . $org_num . "\r\n"; // echo "\r\n" . $org_num . "\r\n";
$this->parameters["mch_id"] = '100018380507D2C'; // 商户号 sc_test $this->parameters["mch_id"] = $org_num; // 商户号 sc_test
// $this->parameters["spbill_create_ip"] = $_SERVER['REMOTE_ADDR']; // 终端ip // $this->parameters["spbill_create_ip"] = $_SERVER['REMOTE_ADDR']; // 终端ip
$this->parameters["nonce_str"] = $payinfo['nonceStr']; // 随机字符串 $this->parameters["nonce_str"] = $payinfo['nonceStr']; // 随机字符串

Loading…
Cancel
Save