Browse Source

wxnotify

master
dutsc 3 years ago
parent
commit
8ff802ea7e
  1. 4
      mobile/source/helpers/dalianpay/demo/dalianpay.php

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

@ -81,7 +81,7 @@ class dalianpay{
'version' => $config['version'], 'version' => $config['version'],
// 'version' => '11', // 'version' => '11',
// jsapi支付不需要termcode // jsapi支付不需要termcode
// 'termcode' => $config['termcode'], 'termcode' => $config['termcode'],
'trxamt' => strval($trxamt), // total_fee bug: need:string supply:int 'trxamt' => strval($trxamt), // total_fee bug: need:string supply:int
// 'trxamt' => '180000', // total_fee // 'trxamt' => '180000', // total_fee
'reqsn' => $reqsn, // 交易订单号 'reqsn' => $reqsn, // 交易订单号
@ -90,7 +90,7 @@ class dalianpay{
'transtype' => $config['transtype'], // 微信支付 'transtype' => $config['transtype'], // 微信支付
'paytype' => $config['paytype'], // 微信js支付 'paytype' => $config['paytype'], // 微信js支付
'randomstr' => md5( uniqid() ), 'randomstr' => md5( uniqid() ),
// 'body' => 'pages', 'body' => 'pages',
'acct' => $openid, 'acct' => $openid,
'notify_url' => $config['notify_url'], // 交易结果通知地址 'notify_url' => $config['notify_url'], // 交易结果通知地址
'limit_pay' => $config['limit_pay'], 'limit_pay' => $config['limit_pay'],

Loading…
Cancel
Save