|
@@ -621,6 +621,7 @@ Note: WebPay is available for currency USD and country code CL.
|
|
|
| 3 | 电话 | 20 | 文本 | phone | Phone number of the customer. |
|
|
|
| 4 | 客户ID | 30 | 文本 | customerId | Customer ID, when client register on merchant, merchant distribute it to client. |
|
|
|
|
|
|
+```javascript
|
|
|
测试环境配置:
|
|
|
|
|
|
修改测试机器hosts,添加如下两条信息
|
|
@@ -629,15 +630,14 @@ Note: WebPay is available for currency USD and country code CL.
|
|
|
|
|
|
114.80.87.249 api.account.preview.n.xiaomi.net
|
|
|
|
|
|
-测试参数
|
|
|
-
|
|
|
-测试小米ID:100019995/test123456
|
|
|
+测试卡:
|
|
|
|
|
|
卡号:5123456789012346
|
|
|
|
|
|
有效期:0520
|
|
|
|
|
|
cvv:123
|
|
|
+```
|
|
|
|
|
|
## 5.7 IPL渠道(跳转)
|
|
|
|
|
@@ -648,9 +648,9 @@ cvv:123
|
|
|
| transTimeout | string(6) | M | 订单有效时长,整数格式,单位分钟(min) | 10 |
|
|
|
| country | string(2) | O | 国家二字代码,需要大写。页面将展示这个国家的支付方式。如果不传,根据系统判定的国家展示支付方式 | CN |
|
|
|
|
|
|
-测试卡号:
|
|
|
-
|
|
|
```javascript
|
|
|
+测试卡:
|
|
|
+
|
|
|
Visa:
|
|
|
cardNo: 4000020951595032
|
|
|
expirationMonth: 06
|
|
@@ -708,11 +708,12 @@ lastName: Swift
|
|
|
| email | string | M | this is email id of the customer who is doing transaction. | 123456@163.com |
|
|
|
|
|
|
```javascript
|
|
|
-测试卡号
|
|
|
+测试卡:
|
|
|
+
|
|
|
Domestic
|
|
|
|
|
|
Mastercard:
|
|
|
-5104_0155_5555_5558,
|
|
|
+5104_0155_5555_5558
|
|
|
5104_0600_0000_0008
|
|
|
|
|
|
Visa:
|
|
@@ -721,7 +722,6 @@ Visa:
|
|
|
International
|
|
|
|
|
|
Mastercard:
|
|
|
-
|
|
|
5555_5555_5555_4444
|
|
|
5105_1051_0510_5100
|
|
|
|