Browse Source

Merge branch 'master' of https://git.allpayx.com/OpenAPI/common

benson 5 years ago
parent
commit
3832bab4bd

+ 12 - 8
AllPay_Integration_Specification_CH.md

@@ -427,8 +427,6 @@ SMS Code on Mobile: 123456
 
  获取到tn后,根据[Android对接文档](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android_Integration_Specification_CH.md)调用SDK进行支付
 
-
-
 ### 5.7 MIPAY渠道
 
 #### 5.7.1 H5支付
@@ -443,7 +441,19 @@ SMS Code on Mobile: 123456
 | phone      | String | M    | Phone number of the customer                                 |
 | customerId | String | O    | Customer ID, when client register on merchant, merchant distribute it to client. |
 
+```javascript
+测试环境配置:
+
+修改测试机器hosts,添加如下两条信息
+114.80.87.249 account.preview.n.xiaomi.net
+114.80.87.249 api.account.preview.n.xiaomi.net
 
+测试卡:
+
+卡号:5123456789012346
+有效期:0520
+cvv:123
+```
 
 ### 5.8 EB渠道
 
@@ -458,12 +468,6 @@ SMS Code on Mobile: 123456
 | email     | String | M    | this is email id of the customer who is doing transaction  |
 | phone     | String | M    | Phone number of the customer                               |
 
-
-
-
-
-
-
 ## 6.应答码 
 
 | 应答码 | 描  述      |

+ 41 - 0
AllPay_Integration_Specification_EN.md

@@ -427,6 +427,47 @@ Response message:
 
  After you get tn,please integrate according to [Android Integration Specification](https://git.allpayx.com/OpenAPI/common/src/master/v5/android/Android_Integration_Specification_EN.md)
 
+### 5.7 MIPAY
+
+#### 5.7.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| ---------- | ------ | ---- | ------------------------------------------------------------ |
+| tradeFrom  | String | M    | "H5"                                                         |
+| firstname  | String | M    | This is name of the customer who is doing the transaction.   |
+| email      | String | M    | this is email id of the customer who is doing transaction    |
+| phone      | String | M    | Phone number of the customer                                 |
+| customerId | String | O    | Customer ID, when client register on merchant, merchant distribute it to client. |
+
+```javascript
+Test environment configuration:
+
+Modify the test machine hosts file, add the following two information.
+114.80.87.249 account.preview.n.xiaomi.net
+114.80.87.249 api.account.preview.n.xiaomi.net
+
+Test card:
+
+Card number:5123456789012346
+Validity period:0520
+cvv:123
+```
+
+### 5.8 EB
+
+#### 5.8.1 H5 mode
+
+ Purchase interface specific fields
+
+| Parameter | Type   | Required | Description |
+| --------- | ------ | ---- | ---------------------------------------------------------- |
+| tradeFrom | String | M    | "H5"                                                       |
+| firstname | String | M    | This is name of the customer who is doing the transaction. |
+| email     | String | M    | this is email id of the customer who is doing transaction  |
+| phone     | String | M    | Phone number of the customer                               |
+
 ## 6.RespCode 
 
 | RespCode | Description      |

+ 2 - 2
paymentSchema.md

@@ -6,5 +6,5 @@ Serial number |Channel name  |Channel ID|Remark
  3 | Alipay |AP/APMP| Alipay
  4 | UnionPay |UP| UnionPay
  5 | Apple Pay |APP| Apple Pay
- 6 | MiPay |MIPAY| 小米支付 
- 7 | EB |EB| EB 
+ 6 | Mi Pay |MIPAY| Mi Pay 
+ 7 | Easebuzz |EB| Easebuzz 

+ 1 - 9
v5/android/Android_Integration_Specification_CH.md

@@ -105,24 +105,16 @@ pay_result 为 json 字符串,格式如下:
   compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
   ```
 
-
-
 ### 4.2 APMP渠道
 
 1.把alipaySdk.arr 拷贝到项目的libs下面
 
-2. 在Application Module的build.gradle文件的dependencies下添加
+2.在Application Module的build.gradle文件的dependencies下添加
 
 ```
 compile(name: 'alipaySdk', ext: 'aar')
 ```
 
-
-
-
-
-
-
 ## 5.SDK下载
 
 [安卓SDK下载地址](https://git.allpayx.com/OpenAPI/common/raw/master/v5/android/android_sdk.zip)

+ 2 - 8
v5/android/Android_Integration_Specification_EN.md

@@ -105,22 +105,16 @@ Message description:
   compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
   ```
 
-
-
-### 4.2 APMPchannel
+### 4.2 APMP channel
 
 1.Copy alipaySdk.arr to the project's libs.
 
-2. Add in the dependencies of the build.gradle file in the Application Module
+2.Add in the dependencies of the build.gradle file in the Application Module
 
 ```
 compile(name: 'alipaySdk', ext: 'aar')
 ```
 
-
-
-
-
 ## 5.SDK download
 
 [Download link](https://git.allpayx.com/OpenAPI/common/raw/master/v5/android/android_sdk.zip)