You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.6 KiB
73 lines
2.6 KiB
<?php
|
|
|
|
return array(
|
|
// 机构号 商户号
|
|
// 统一支付接口 测试地址
|
|
// 'pay_url' => 'https://open.dalianpay.cn/payapi/unitorder/pay',
|
|
// 统一支付接口
|
|
'pay_url' => 'https://epay.dalianpay.cn/payapi/unitorder/pay',
|
|
// 'org_num' => '5503001',
|
|
'org_num' => '100018380507D2C',
|
|
// 商户号 渠道商户号
|
|
// 'cusid' => '10147',
|
|
'cusid' => '100018380507D2C',// 563222080502LGB
|
|
// 产品
|
|
'producp' => 'JX0002',
|
|
// 版本
|
|
'version' => '11',
|
|
// 交易类型
|
|
'transtype' => 'JSP501', // 微信支付
|
|
// 交易方式
|
|
'paytype' => 'W06', // 微信小程序支付
|
|
// 门店号
|
|
'branchno' => '401',
|
|
// 交易结果通知地址
|
|
'notify_url' => 'https://shop.heavenk.com/mobile/source/helpers/dalianpay/demo/wxnotify.php',
|
|
// 支付限制
|
|
'limit_pay' => 'no_credit',
|
|
// 微信子appid 商户微信号
|
|
// 'sub_appid' => 'wx79343915f99167e6', // wooka appid
|
|
// 'sub_appid' => 'wx1663d2c6a7937c78', // 更换后的appid
|
|
'sub_appid' => 'wx0afc59c4f6aa8750',
|
|
// 渠道门店编号
|
|
'chnlstoreid' => '',
|
|
// 支付完成跳转
|
|
'front_url' => 'https://shop.heavenk.com/mobile/', // sc_test
|
|
// 终端号
|
|
'termcode' => '000000',
|
|
// 加密方式
|
|
'signtype' => 'RSA',
|
|
// 渠道公钥 测试公钥
|
|
// 'public_key' => BASE_PATH . 'helpers/dalianpay/cert/channel_public_key.pem',
|
|
'public_key' => BASE_PATH . 'helpers/dalianpay/cert/online_public_key.pem',
|
|
// 'public_key' => BASE_PATH . 'helpers/dalianpay/cert/810_channel_public_key.pem',
|
|
// 'public_key' => BASE_PATH . 'helpers/dalianpay/cert/test/test_online_public_key.pem', // sc_test setupKey program
|
|
// 商户私钥 测试私钥
|
|
// 'private_key' => BASE_PATH . 'helpers/dalianpay/cert/cus_private_key.pem',
|
|
'private_key' => BASE_PATH . 'helpers/dalianpay/cert/online_private_key.pem',
|
|
// 'private_key' => BASE_PATH . 'helpers/dalianpay/cert/810_cus_private_key.pem',
|
|
// 'private_key' => BASE_PATH . 'helpers/dalianpay/cert/test/test_online_private_key.pem', // sc_test setupKey program
|
|
|
|
// 统一扫码接口 测试地址
|
|
'scan_url' => 'https://open.dalianpay.cn/payapi/unitorder/scanqrpay',
|
|
|
|
// 交易撤销 测试地址
|
|
'cancel_url' => 'https://open.dalianpay.cn/payapi/tranx/cancel',
|
|
|
|
// 交易退款 测试地址
|
|
'refund_url' => 'https://tpay.01pub.com/payapi/tranx/refund',
|
|
|
|
// 统一查询接口 测试地址
|
|
// 'query_url' => 'https://open.dalianpay.cn/payapi/tranx/query',
|
|
|
|
// 统一查询接口 生产地址
|
|
'query_url' => 'https://epay.dalianpay.cn/payapi/tranx/query',
|
|
|
|
// 订单关闭接口 测试地址
|
|
'close_url' => 'https://open.dalianpay.cn/payapi/tranx/close',
|
|
|
|
'openid' => '',
|
|
|
|
);
|
|
|
|
?>
|
|
|