|
@@ -7,29 +7,30 @@
|
|
|
- 扫码支付:https://docs.open.alipay.com/194
|
|
|
- 手机支付:https://docs.open.alipay.com/203
|
|
|
- 参数
|
|
|
+
|
|
|
```
|
|
|
-# 支付宝网关名、partnerId和appId
|
|
|
+支付宝网关名、partnerId和appId
|
|
|
open_api_domain = https://openapi.alipay.com/gateway.do
|
|
|
mcloud_api_domain = http://mcloudmonitor.com/gateway.do
|
|
|
-#此处请填写你的PID
|
|
|
+此处请填写你的PID
|
|
|
pid =XXXXXXXXXXXXXX
|
|
|
-#此处请填写你当面付的APPID
|
|
|
+此处请填写你当面付的APPID
|
|
|
appid =XXXXXXXXXXXXXX
|
|
|
|
|
|
-# RSA私钥、公钥和支付宝公钥
|
|
|
+RSA私钥、公钥和支付宝公钥
|
|
|
private_key = XXXXXXXXXXXXXX
|
|
|
public_key = XXXXXXXXXXXXXX
|
|
|
alipay_public_key = XXXXXXXXXXXXXX
|
|
|
|
|
|
-# 当面付最大查询次数和查询间隔(毫秒)
|
|
|
+当面付最大查询次数和查询间隔(毫秒)
|
|
|
max_query_retry = 5
|
|
|
query_duration = 5000
|
|
|
|
|
|
-# 当面付最大撤销次数和撤销间隔(毫秒)
|
|
|
+当面付最大撤销次数和撤销间隔(毫秒)
|
|
|
max_cancel_retry = 3
|
|
|
cancel_duration = 2000
|
|
|
|
|
|
-# 交易保障线程第一次调度延迟和调度间隔(秒)
|
|
|
+交易保障线程第一次调度延迟和调度间隔(秒)
|
|
|
heartbeat_delay = 5
|
|
|
heartbeat_duration = 900
|
|
|
|
|
@@ -42,20 +43,21 @@ heartbeat_duration = 900
|
|
|
- H5支付:https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=15_1
|
|
|
- 微信退款说明:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=4_3
|
|
|
- 参数
|
|
|
+
|
|
|
```
|
|
|
-#服务号的应用ID
|
|
|
+服务号的应用ID
|
|
|
APP_ID = XXXXXXXXXXXXXX
|
|
|
-#服务号的应用密钥
|
|
|
+服务号的应用密钥
|
|
|
APP_SECRET = XXXXXXXXXXXXXX
|
|
|
-#服务号的配置token
|
|
|
+服务号的配置token
|
|
|
TOKEN = XXXXXXXXXXXXXX
|
|
|
-#商户号
|
|
|
+商户号
|
|
|
MCH_ID = XXXXXXXXXXXXXX
|
|
|
-#API密钥
|
|
|
+API密钥
|
|
|
API_KEY = XXXXXXXXXXXXXX
|
|
|
-#签名加密方式
|
|
|
+签名加密方式
|
|
|
SIGN_TYPE = MD5
|
|
|
-#/微信支付证书名称
|
|
|
+微信支付证书名称
|
|
|
CERT_PATH = apiclient_cert.p12
|
|
|
```
|
|
|
|