Browse Source

更新 '微信小程序支付接入规范文档.md'

tao.zhou 5 years ago
parent
commit
b121551c3a
1 changed files with 4 additions and 3 deletions
  1. 4 3
      微信小程序支付接入规范文档.md

+ 4 - 3
微信小程序支付接入规范文档.md

@@ -15,12 +15,13 @@ AllPay为基于微信小程序开发的接口,以帮助客户实现快速、
 ##### 2.1. 验签说明 
 
 ```
-1.对于发送到 ALLPAY 系统的 POST 请求报文,其中所有传入参数(除 signature 参数外)按照字段名的 ASCII 码从小到大排序后(字典序),使用 URL 键值对的格式(即 key1=value1&key2=value2...)拼接成字符串 String1。
+1.对于发送到 AllPay 系统的 POST 请求报文,其中所有传入参数(除 signature 参数外)按照字段名的 ASCII 码从小到大排序后(字典序),使用 URL 键值对的格式(即 key1=value1&key2=value2...)拼接成字符串 String1。
 
-2.在 String1 最后直接拼接(不需要用“&”连接)双方约定的签名密钥 K1(接入 ALLPAY 时分配),得到 stringSignTemp 字符串,并对 stringSignTemp 进行 md5 运算,得到 signature 的值。
+2.在 String1 最后直接拼接(不需要用“&”连接)双方约定的签名密钥 Key(接入 AllPay 时分配),得到 stringSignTemp 字符串,并对 stringSignTemp 进行 md5 运算,得到 signature 的值。
 
-3.示例签名串 acqID=99020344&backURL=http://example.com/example&charSet=UTF-8&frontURL=nil&merID=000000000000015&merReserve=nil&orderAmount=0.01&orderCurre ncy=CNY&orderNum=869873851812&paymentSchema=APMP&signType=MD5&transTime= 20151112151356&transType=PURC&version=VER0000000022f2c77e3718c47cfb47a89a6fbc9d361
+3.示例签名串 acqID=99020344&backURL=https://www.allpayx.com&charSet=UTF-8&frontURL=https://www.baidu.com&goodsInfo=apple&merID=000000000000015&merReserve=iPhone&mode=applet&openid=1425364758&orderAmount=0.01&orderCurrency=USD&orderNum=20190104034651&paymentSchema=WX&signType=MD5&transTime=20190104034651&transType=PURC&version=VER0000000022f2c77e3718c47cfb47a89a6fbc9d361
 ```
+
 ##### 2.2. 通用API接入地址 
 
 | 接口名称     | 测试地址                                  | 生产地址                              |