|
@@ -240,7 +240,7 @@ It's jump mode, open the front-end page provided by AllPay, which contains WeCha
|
|
|
| --------- | ------ | ---- | ------- |
|
|
|
| tradeFrom | String | M | "QUICK" |
|
|
|
|
|
|
-3.Wechat Official Accounts payment
|
|
|
+3.WeChat Official Accounts payment
|
|
|
|
|
|
Purchase interface specific fields
|
|
|
|
|
@@ -248,7 +248,7 @@ It's jump mode, open the front-end page provided by AllPay, which contains WeCha
|
|
|
| --------- | ------ | ---- | ------- |
|
|
|
| tradeFrom | String | M | "JSAPI" |
|
|
|
|
|
|
-4.Wechat Mini Programs payment
|
|
|
+4.WeChat Mini Programs payment
|
|
|
|
|
|
Purchase interface specific fields
|
|
|
|
|
@@ -267,7 +267,7 @@ Response message:
|
|
|
|
|
|
Parameter sdk_params is used to call up the WeChat Mini Programs payment. Please refer to the Mini Programs integration specification.
|
|
|
|
|
|
-5.APP
|
|
|
+5.APP mode
|
|
|
|
|
|
Purchase interface specific fields
|
|
|
|
|
@@ -279,38 +279,114 @@ Response message:
|
|
|
|
|
|
| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
|
-| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
+| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
| RespMsg | String | M | Response message |
|
|
|
| tn | String | O | Transaction serial number. Required parameter for Wechat app payment. When RespCode=00 returns it. |
|
|
|
|
|
|
-##### 5.3 AP
|
|
|
+After getting tn, call the SDK to pay according to Section 7 of this document.
|
|
|
+
|
|
|
+##### 5.2 AP
|
|
|
|
|
|
1.WebSite mode
|
|
|
|
|
|
Purchase interface specific fields
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
|
| tradeFrom | String | M | "WEB" |
|
|
|
|
|
|
+##### 5.3 APMP
|
|
|
|
|
|
+1.H5 mode
|
|
|
|
|
|
-##### 5.3 CA
|
|
|
+ Purchase interface specific fields
|
|
|
|
|
|
-1.APP
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| --------- | ------ | ---- | ------- |
|
|
|
+| tradeFrom | String | M | "JSAPI" |
|
|
|
+
|
|
|
+2.APP mode
|
|
|
|
|
|
Purchase interface specific fields
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
| --------- | ------ | ---- | ----- |
|
|
|
| tradeFrom | String | M | "APP" |
|
|
|
|
|
|
-Response message:
|
|
|
+Response message:
|
|
|
|
|
|
-| Parameter | Type | Required | Description |
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
|
+| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
+| RespMsg | String | M | Response message |
|
|
|
+| tn | String | O | Transaction serial number. Required parameter for Wechat app payment. When RespCode=00 returns it. |
|
|
|
+
|
|
|
+After getting tn, call the SDK to pay according to Section 7 of this document.
|
|
|
+
|
|
|
+##### 5.4 UP
|
|
|
+
|
|
|
+1.H5 mode, adaptive PC and mobile
|
|
|
+
|
|
|
+ Purchase interface specific fields
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| --------- | ------ | ---- | ---- |
|
|
|
+| tradeFrom | String | M | "H5" |
|
|
|
+
|
|
|
+2.APP mode
|
|
|
+
|
|
|
+ Purchase interface specific fields
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| --------- | ------ | ---- | ----- |
|
|
|
+| tradeFrom | String | M | "APP" |
|
|
|
+
|
|
|
+Response message:
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
|
+| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
+| RespMsg | String | M | Response message |
|
|
|
+| tn | String | O | Transaction serial number. Required parameter for Wechat app payment. When RespCode=00 returns it. |
|
|
|
+
|
|
|
+After getting tn, call the SDK to pay according to Section 7 of this document.
|
|
|
+
|
|
|
+##### 5.5 Apple Pay
|
|
|
+
|
|
|
+1.APP mode
|
|
|
+
|
|
|
+ Purchase interface specific fields
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| --------- | ------ | ---- | ----- |
|
|
|
+| tradeFrom | String | M | "APP" |
|
|
|
+
|
|
|
+Response message:
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
|
-| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
+| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
| RespMsg | String | M | Response message |
|
|
|
+| tn | String | O | Transaction serial number. Required parameter for Wechat app payment. When RespCode=00 returns it. |
|
|
|
+
|
|
|
+After getting tn, call the SDK to pay according to Section 7 of this document.
|
|
|
+
|
|
|
+##### 5.6 CA
|
|
|
+
|
|
|
+1.APP mode
|
|
|
+
|
|
|
+ Purchase interface specific fields
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| --------- | ------ | ---- | ----- |
|
|
|
+| tradeFrom | String | M | "APP" |
|
|
|
+
|
|
|
+Response message:
|
|
|
+
|
|
|
+| Parameter | Type | Required | Description |
|
|
|
+| -------- | ------ | ---- | --------------------------------------------------------- |
|
|
|
+| RespCode | String | M | 00 stands for success; 01 stands for fail. |
|
|
|
+| RespMsg | String | M | Response message |
|
|
|
| tn | String | O | Transaction serial number. Required parameter for CA app payment. When RespCode=00 returns it.|
|
|
|
|
|
|
After you get tn,please integrate according to [Android Integration Specification](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/AllPay%20Android%20Integration%20Specification%20V5.0.0.md)
|
|
@@ -338,13 +414,11 @@ Response message:
|
|
|
| P4 | Function is not supported |
|
|
|
| P5 | Channel returns "Error" |
|
|
|
|
|
|
-#### 7.SDK docking document
|
|
|
-
|
|
|
-Android SDK integration specification:[Android SDK](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android%E7%AB%AF%E6%8E%A7%E4%BB%B6%E6%94%AF%E4%BB%98%E4%BA%A7%E5%93%81%E6%8E%A5%E5%8F%A3%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
|
|
|
-
|
|
|
-iOS SDK integration specification:[iOS SDK](https://git.allpayx.com/OpenAPI/common/src/master/v5/ios/iOS%E7%AB%AF%E6%8E%A7%E4%BB%B6%E6%94%AF%E4%BB%98%E4%BA%A7%E5%93%81%E6%8E%A5%E5%8F%A3%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
|
|
|
+#### 7.APP mode integration specification
|
|
|
|
|
|
+Android Integration Specification:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android%E7%AB%AF%E6%8E%A7%E4%BB%B6%E6%94%AF%E4%BB%98%E4%BA%A7%E5%93%81%E6%8E%A5%E5%8F%A3%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
|
|
|
|
|
|
+iOS Integration Specification:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/v5/ios/iOS%E7%AB%AF%E6%8E%A7%E4%BB%B6%E6%94%AF%E4%BB%98%E4%BA%A7%E5%93%81%E6%8E%A5%E5%8F%A3%E8%A7%84%E8%8C%83%E6%96%87%E6%A1%A3.md)
|
|
|
|
|
|
#### 8.Technical support
|
|
|
|