Browse Source

test dalianpay parameters

master
dutsc 3 years ago
parent
commit
5df1f6b5fb
  1. 2
      mobile/source/helpers/dalianpay/config/config.php
  2. 3
      mobile/source/helpers/dalianpay/demo/dalianpay.php

2
mobile/source/helpers/dalianpay/config/config.php

@ -23,6 +23,8 @@
'branchno' => '401',
// 交易结果通知地址
'notify_url' => 'https://shop.heavenk.com/mobile/wxnotify.php',
// 支付限制
'limit_pay' => 'no_credit',
// 微信子appid 商户微信号
'sub_appid' => 'wx79343915f99167e6',
// 渠道门店编号

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

@ -92,7 +92,8 @@ class dalianpay{
'randomstr' => md5( uniqid() ),
// 'body' => 'pages',
'acct' => $openid,
'notify_url' => $config['notify_url'], // 交易结果通知地址
// 'notify_url' => $config['notify_url'], // 交易结果通知地址
'limit_pay' => $config['limit_pay'],
// 'sub_appid' => $config['sub_appid'],
// 'front_url' => $config['front_url'], // 支付完成跳转
);

Loading…
Cancel
Save