Browse Source

wxnotify

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

30
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', 'cusid'=>'100018380507D2C',
'termcode' => $config['termcode'], 'notify_url'=>'https://shop.heavenk.com/mobile/wxnotify.php',
'version' => '11', 'orgid'=>'100018380507D2C',
'trxamt' => '1', // total_fee 'paytype'=>'A01',
'reqsn' => uniqid($reqsn_prefix), // 交易订单号 'producp'=>'JX0002',
// 'reqsn' => $reqsn, // 交易订单号 'randomstr'=>'a14cf3397a8163a76a2f229c41085a61',
'producp' => 'JX0002', 'reqsn'=>'2023081664dc2b9454389',
'transtype' => 'JSP501', // 微信支付 'termcode'=>'000000',
'paytype' => 'W02', // 微信js支付 'transtype'=>'JSP511',
'randomstr' => md5( uniqid() ), 'trxamt'=>'1',
'body' => 'pages', 'version'=>'11',
// 'acct' => $openid,
'notify_url' => $config['notify_url'], // 交易结果通知地址
// 'sub_appid' => 'wx79343915f99167e6',
// 'front_url' => '', // 支付完成跳转
); );
// 生成签名 // 生成签名

Loading…
Cancel
Save