|
|
|
@ -33,16 +33,19 @@ |
|
|
|
'orgid' => $config['org_num'], |
|
|
|
'cusid' => $config['cusid'], |
|
|
|
'branchno' => $config['branchno'], |
|
|
|
'termcode' => $config['termcode'], |
|
|
|
// 'termcode' => $config['termcode'], |
|
|
|
'version' => $config['version'], |
|
|
|
'trxamt' => '1', |
|
|
|
'reqsn' => uniqid($reqsn_prefix), |
|
|
|
'trxamt' => '1', // total_fee |
|
|
|
'reqsn' => uniqid($reqsn_prefix), // 交易订单号 |
|
|
|
'producp' => 'JX0002', |
|
|
|
'transtype' => 'JSP511', |
|
|
|
'paytype' => 'W02', |
|
|
|
'transtype' => 'JSP501', // 微信支付 |
|
|
|
'paytype' => 'W02', // 微信js支付 |
|
|
|
'randomstr' => md5( uniqid() ), |
|
|
|
'body' => 'pages', |
|
|
|
// 'body' => 'pages', |
|
|
|
'acct' => $openid, |
|
|
|
'notify_url' => '', // 交易结果通知地址 |
|
|
|
'sub_appid' => 'wx79343915f99167e6', |
|
|
|
'front_url' => '', // 支付完成跳转 |
|
|
|
); |
|
|
|
|
|
|
|
// 生成签名 |
|
|
|
|