Browse Source

wxnotify

master
dutsc 3 years ago
parent
commit
e71a5ff249
  1. 26
      mobile/source/helpers/dalianpay/demo/dalianpay.php

26
mobile/source/helpers/dalianpay/demo/dalianpay.php

@ -100,23 +100,19 @@ class dalianpay{
// echo "\r\n test \r\n"; // echo "\r\n test \r\n";
$trade_data = array( $trade_data = array(
'orgid' => '100018380507D2C', 'body'=>'订单标题',
'cusid' => '100018380507D2C',
'branchno'=>'401', 'branchno'=>'401',
'termcode' => $config['termcode'], 'cusid'=>'100018380507D2C',
'version' => '11', 'notify_url'=>'https://shop.heavenk.com/mobile/wxnotify.php',
'trxamt' => '1', // total_fee 'orgid'=>'100018380507D2C',
'reqsn' => uniqid($reqsn_prefix), // 交易订单号 'paytype'=>'A01',
// 'reqsn' => $reqsn, // 交易订单号
'producp'=>'JX0002', 'producp'=>'JX0002',
'transtype' => 'JSP501', // 微信支付 'randomstr'=>'a14cf3397a8163a76a2f229c41085a61',
'paytype' => 'W02', // 微信js支付 'reqsn'=>'2023081664dc2b9454389',
'randomstr' => md5( uniqid() ), 'termcode'=>'000000',
'body' => 'pages', 'transtype'=>'JSP511',
// 'acct' => $openid, 'trxamt'=>'1',
'notify_url' => $config['notify_url'], // 交易结果通知地址 'version'=>'11',
// 'sub_appid' => 'wx79343915f99167e6',
// 'front_url' => '', // 支付完成跳转
); );
// 生成签名 // 生成签名

Loading…
Cancel
Save