tao.zhou 4 år sedan
förälder
incheckning
ec073f8763
2 ändrade filer med 23 tillägg och 2 borttagningar
  1. 3 1
      payExclusive_CH.md
  2. 20 1
      payExclusive_EN.md

+ 3 - 1
payExclusive_CH.md

@@ -55,7 +55,7 @@
 | RespMsg    | String | M    | 应答消息                                               |
 | sdk_params | String | O    | 小程序支付所需参数(JSON字符串)。应答码为00返回该字段 |
 
-将上述返回数据放入微信小程序支付接口,即可调起微信小程序支付,具体方法,参考微信小程序API
+将上述返回数据放入微信小程序支付接口,即可调起支付,具体方法,参考微信官方小程序API
 
 #### 1.5 APP支付
 
@@ -145,6 +145,8 @@
 | RespMsg    | String | M    | 应答消息                                 |
 | sdk_params | String | O    | 小程序支付所需参数。应答码为00返回该字段 |
 
+将上述返回数据放入支付宝小程序支付接口,即可调起支付,具体方法,参考支付宝官方小程序API。
+
 ### 3 UP渠道
 
 #### 3.1 H5支付,自适应PC和移动端

+ 20 - 1
payExclusive_EN.md

@@ -55,7 +55,7 @@ Response message:
 | RespMsg    | String | M    | Response message                                               |
 | sdk_params | String | O    | Required parameter for Mini Program payment(JSON). When RespCode=00 returns it. |
 
-Parameter sdk_params is used to call up the WeChat Mini Programs payment. Please refer to the Mini Programs integration specification.
+Parameter sdk_params is used to call up the WeChat Mini Programs payment. Please refer to the WeChat Mini Programs integration specification.
 
 #### 1.5 APP mode
 
@@ -129,6 +129,25 @@ Response message:
 | RespMsg  | String | M    | Response message        |
 | code_url | String | O    | Characters to generate QR code. When RespCode=00 returns it. |
 
+#### 2.5 Alipay Mini Programs payment
+
+ Purchase interface specific fields
+
+| Parameter      | Type   | Required | Description       |
+| --------- | ------ | ---- | ---------- |
+| tradeFrom | String | M    | "APPLET"   |
+| openid    | String | M    | Wechat openid |
+
+Response message:
+
+| Parameter       | Type   | Required | Description                                                   |
+| ---------- | ------ | ---- | ------------------------------------------------------ |
+| RespCode   | String | M    | 00 stands for success; 01 stands for fail.                                         |
+| RespMsg    | String | M    | Response message                                               |
+| sdk_params | String | O    | Required parameter for Mini Program payment(JSON). When RespCode=00 returns it. |
+
+Parameter sdk_params is used to call up the Alipay Mini Programs payment. Please refer to the Alipay Mini Programs integration specification.
+
 ### 3 UP
 
 #### 3.1 H5 mode, adaptive PC and mobile