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

Loading…
Cancel
Save