Browse Source

更新 'PC_Web_Integration_Specification.md'

tao.zhou 6 years ago
parent
commit
a689b9a708
1 changed files with 24 additions and 7 deletions
  1. 24 7
      PC_Web_Integration_Specification.md

+ 24 - 7
PC_Web_Integration_Specification.md

@@ -255,11 +255,30 @@ This interface provides the function of refund transaction for access merchants.
 | ---- | -------------------- | ---------- | ---- | -------------- | ------------------------------------------------------------ |
 | ---- | -------------------- | ---------- | ---- | -------------- | ------------------------------------------------------------ |
 | 1    | UnionPay card number | 19         | Text | uCardNumber    | The overseas UnionPay channel is applicable to the UnionPay excellent plan. Can not upload, if you need to fill in the bank card number in advance, then send this field. |
 | 1    | UnionPay card number | 19         | Text | uCardNumber    | The overseas UnionPay channel is applicable to the UnionPay excellent plan. Can not upload, if you need to fill in the bank card number in advance, then send this field. |
 
 
+```javascript
+Test cards:
+
+Credit Card: 5200831111111113
+Mobile: 13552535506
+CVN2: 123
+Exp Date: month 11 year 19
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+
+Credit Card: 6226388000000095
+Mobile: 18100000000
+CVN2: 248
+Exp Date: month 12 year 19
+SMS Code on PC: 111111
+SMS Code on Mobile: 123456
+```
+
 ##### 5.3 WX(Includes transition and parameter return)
 ##### 5.3 WX(Includes transition and parameter return)
 
 
 | No.  | Field Name                | Max.Length | Type | Parameter name | Comment                                                      |
 | No.  | Field Name                | Max.Length | Type | Parameter name | Comment                                                      |
 | ---- | ------------------------- | ---------- | ---- | -------------- | ------------------------------------------------------------ |
 | ---- | ------------------------- | ---------- | ---- | -------------- | ------------------------------------------------------------ |
-| 1    | Transaction scenario code | 16         | Text | code           | 1.“NATIVE“:Return the URL value of WeChat payment collection for parameter return, ask the merchant to convert it into QR code, generate the front interface of payment, and prompt the user to scan the code to pay; 2.“QUICK”:It's jump mode, open the front-end page provided by AllPay, which contains WeChat QR code. |
+| 1    | Transaction scenario code | 16         | Text | code           | 1.“NATIVE“:Return the URL value of WeChat payment collection for parameter return, ask the merchant to convert it into QR code, generate the front interface of payment, and prompt the user to scan the code to pay; 
+2.“QUICK”:It's jump mode, open the front-end page provided by AllPay, which contains WeChat QR code. |
 
 
 ##### 5.4 PPRO(Transition)
 ##### 5.4 PPRO(Transition)
 
 
@@ -600,21 +619,19 @@ Note: WebPay is available for currency USD and country code CL.
 | 3    | phone   | 20   | Text | Phone number of the customer.                                |
 | 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. |
 | 4    | customerId | 30   | Text | Customer ID, when client register on merchant, merchant distribute it to client. |
 
 
+```javascript
 Test environment configuration:
 Test environment configuration:
 
 
 Modify the test machine hosts file, add the following two information
 Modify the test machine hosts file, add the following two information
-
 114.80.87.249 account.preview.n.xiaomi.net
 114.80.87.249 account.preview.n.xiaomi.net
-
 114.80.87.249 api.account.preview.n.xiaomi.net
 114.80.87.249 api.account.preview.n.xiaomi.net
 
 
 Test card:
 Test card:
 
 
 Card number:5123456789012346
 Card number:5123456789012346
-
 Validity period:0520
 Validity period:0520
-
 cvv:123
 cvv:123
+```
 
 
 ##### 5.7 IPL(Transition)
 ##### 5.7 IPL(Transition)
 
 
@@ -625,9 +642,9 @@ cvv:123
 | transTimeout | string(6)  | M        | Effective time of the order, integer format, in minutes (min).                        | 10     |
 | 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     |
 | 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     |
 
 
+```javascript
 Test cards:
 Test cards:
 
 
-```javascript
 Visa:
 Visa:
 cardNo: 4000020951595032
 cardNo: 4000020951595032
 expirationMonth: 06
 expirationMonth: 06
@@ -686,6 +703,7 @@ lastName: Swift
 
 
 ```javascript
 ```javascript
 Test cards:
 Test cards:
+
 Domestic
 Domestic
 
 
 Mastercard:   
 Mastercard:   
@@ -698,7 +716,6 @@ Visa:
 International
 International
 
 
 Mastercard:
 Mastercard:
-
 5555_5555_5555_4444
 5555_5555_5555_4444
 5105_1051_0510_5100
 5105_1051_0510_5100