$merchant_no, 'merchant_order_no' => $out_trade_no, //异步通知的地址 'notify_url' => $config["notify_url"], //同步跳转的地址 //'return_url' => 'http://www.kj-pay.com', 'start_time' => date('YmdHis'), 'trade_amount' => 0.01, 'goods_name' => "商品名称", 'goods_desc' => "商品描述", 'user_ip' => $kjpay->get_wx_ip(), 'pay_sence' => '{"type":"Wap","wap_url":"https://www.kk30.com","wap_name":"快快网络"}', 'sign_type' => 1 ); //签名 $sign = $kjpay->local_sign($param, $key); $param['sign'] = $sign; $res = $kjpay->getdata("http://商户后台查询请求地址/wechar/wap_pay", $param); $list = json_decode($res, true); echo "
"; print_r($list); echo ""; } }