Browse Source

debug webpay

stanley-king 6 years atrás
parent
commit
3f6df1a625
1 changed files with 1 additions and 1 deletions
  1. 1 1
      helper/pay/webpay.php

+ 1 - 1
helper/pay/webpay.php

@@ -45,7 +45,7 @@ class webpay implements IPay
         $input->SetTime_expire(date("YmdHis", time() + 600));//订单失效时间,格式为yyyyMMddHHmmss,如2009年12月27日9点10分10秒表示为20091227091010。其他详见时间规则
         $input->SetNotify_url(self::wx_notifyurl);
         $input->SetTrade_type("MWEB");
-        $input->SetOpenid($this->mOpenId);
+//        $input->SetOpenid($this->mOpenId);
         Log::record("gen_pay 1",Log::DEBUG);
 
         $order = \MiniPay\WxPayApi::unifiedOrder($input);