|
@@ -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. |
|
|
|
|
|
|
+```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)
|
|
|
|
|
|
| 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)
|
|
|
|
|
@@ -600,21 +619,19 @@ Note: WebPay is available for currency USD and country code CL.
|
|
|
| 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. |
|
|
|
|
|
|
+```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.7 IPL(Transition)
|
|
|
|
|
@@ -625,9 +642,9 @@ 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 |
|
|
|
|
|
|
+```javascript
|
|
|
Test cards:
|
|
|
|
|
|
-```javascript
|
|
|
Visa:
|
|
|
cardNo: 4000020951595032
|
|
|
expirationMonth: 06
|
|
@@ -686,6 +703,7 @@ lastName: Swift
|
|
|
|
|
|
```javascript
|
|
|
Test cards:
|
|
|
+
|
|
|
Domestic
|
|
|
|
|
|
Mastercard:
|
|
@@ -698,7 +716,6 @@ Visa:
|
|
|
International
|
|
|
|
|
|
Mastercard:
|
|
|
-
|
|
|
5555_5555_5555_4444
|
|
|
5105_1051_0510_5100
|
|
|
|