|
@@ -204,7 +204,7 @@
|
|
|
| cvv | String | M | cvv2 |
|
|
|
| expired | String | M | 有效期 YYMM |
|
|
|
|
|
|
-```javascript
|
|
|
+```
|
|
|
测试卡:
|
|
|
|
|
|
Credit card:6250947000000014
|
|
@@ -284,7 +284,7 @@ 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,添加如下两条信息
|
|
@@ -326,7 +326,7 @@ cvv:123
|
|
|
| shipping | String | M | 收件地址:Base64_encode(json_encode(str))举例<br/>{"first_name":"dsgerg","last_name":"eererger","phone":"13460259928","line1":"address_line1","line2":"address_line2","city":"new york","state":"new york","country_code":"us","postal_code":"10022"} |
|
|
|
|
|
|
|
|
|
-```javascript
|
|
|
+```
|
|
|
测试卡:
|
|
|
|
|
|
Card Number: 4242424242424242
|
|
@@ -392,7 +392,7 @@ CVC: 111
|
|
|
| --------- | ------ | ---- | ---- |
|
|
|
| tradeFrom | String | M | "H5" |
|
|
|
|
|
|
-```javascript
|
|
|
+```
|
|
|
CIL测试卡:
|
|
|
|
|
|
卡号: 4761340000000019
|
|
@@ -424,7 +424,7 @@ CVV2: 123
|
|
|
| logisticsPostalCode | String | O | 物流邮编 |
|
|
|
| logisticsEmail | String | O | 物流邮箱 |
|
|
|
|
|
|
-```javascript
|
|
|
+```
|
|
|
SN测试卡:
|
|
|
|
|
|
卡号: 5309289710447190
|
|
@@ -447,7 +447,7 @@ CVV2: 900
|
|
|
| logisticsPostalCode | String | O | 物流邮编 |
|
|
|
| logisticsPhone | String | O | 物流电话 |
|
|
|
|
|
|
-```javascript
|
|
|
+```
|
|
|
TL测试卡:
|
|
|
|
|
|
卡号: 4012001037141112
|
|
@@ -476,15 +476,15 @@ CVV2: 212
|
|
|
| --------- | ------ | ---- | ---- |
|
|
|
| tradeFrom | String | M | "H5" |
|
|
|
|
|
|
-```javascript
|
|
|
+```
|
|
|
RDP测试卡:
|
|
|
|
|
|
卡号: 4111111111111111
|
|
|
-有效期: 1227
|
|
|
+有效期: 122027
|
|
|
CVV2: 123
|
|
|
|
|
|
卡号: 5200000900007102
|
|
|
-有效期: 1227
|
|
|
+有效期: 122027
|
|
|
CVV2: 123
|
|
|
```
|
|
|
|