|
@@ -593,28 +593,26 @@ Note: WebPay is available for currency USD and country code CL.
|
|
|
|
|
|
##### 5.6 MIPAY(Transition)
|
|
|
|
|
|
-| 序号 | 名称 | 长度 | 类型 | 参数名称 | 备注 |
|
|
|
-| ---- | ------ | ---- | ---- | ---------- | ------------------------------------------------------------ |
|
|
|
-| 1 | 姓名 | 32 | Text | firstname | This is name of the customer who is doing the transaction. |
|
|
|
-| 2 | 邮箱 | 40 | Text | email | this is email id of the customer who is doing transaction. |
|
|
|
-| 3 | 电话 | 20 | Text | phone | Phone number of the customer. |
|
|
|
-| 4 | 客户ID | 30 | Text | customerId | Customer ID, when client register on merchant, merchant distribute it to client. |
|
|
|
+| Serial number | Parameter | Length | Type | Description |
|
|
|
+| ---- | ------ | ---- | ---- | ------------------------------------------------------------ |
|
|
|
+| 1 | firstname | 32 | Text | This is name of the customer who is doing the transaction. |
|
|
|
+| 2 | email | 40 | Text | This is email id of the customer who is doing transaction. |
|
|
|
+| 3 | phone | 20 | Text | Phone number of the customer. |
|
|
|
+| 4 | customerId | 30 | Text | Customer ID, when client register on merchant, merchant distribute it to client. |
|
|
|
|
|
|
-测试环境配置:
|
|
|
+Test environment configuration:
|
|
|
|
|
|
-修改测试机器hosts,添加如下两条信息
|
|
|
+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:
|
|
|
|
|
|
-测试小米ID:100019995/test123456
|
|
|
+Card number:5123456789012346
|
|
|
|
|
|
-卡号:5123456789012346
|
|
|
-
|
|
|
-有效期:0520
|
|
|
+Validity period:0520
|
|
|
|
|
|
cvv:123
|
|
|
|
|
@@ -627,7 +625,7 @@ cvv:123
|
|
|
| transTimeout | string(6) | M | Effective time of the order, integer format, in minutes (min). | 10 |
|
|
|
| country | string(2) | O | National two-character code, need to be capitalized. The page will show you how to pay in this country. If not, the country will display the payment method according to the system. | CN |
|
|
|
|
|
|
-测试卡号:
|
|
|
+Test cards:
|
|
|
|
|
|
```javascript
|
|
|
Visa:
|
|
@@ -687,7 +685,7 @@ lastName: Swift
|
|
|
| email | string | M | this is email id of the customer who is doing transaction. | 123456@163.com |
|
|
|
|
|
|
```javascript
|
|
|
-测试卡号
|
|
|
+Test cards:
|
|
|
Domestic
|
|
|
|
|
|
Mastercard:
|