tao.zhou 2 years ago
parent
commit
9fff467c5c

+ 3 - 3
AllPay_Integration_Specification_CH.md

@@ -73,10 +73,10 @@ signature: 1e0f24d39cdc8236d17a5f6f17672611
 | merID         | String(15)   | M    | 商户 ID,由 GoAllPay 分配 |
 | acqID         | String(11)   | M    | 收单行 ID,统一填写为"99020344" |
 | paymentSchema | String(10)   | M    | 渠道ID:[点击查看详情](paymentSchema.md) |
-| goodsInfo     | String(60)   | M    | 商品信息。 |
-| detailInfo    | String(400)  | M    | 商品明细。<br>格式:[{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}],需Base64编码后上送。 |
+| goodsInfo     | String(60)   | M    | 商品信息。注意不要包含特殊符号,如 "#","&","+" 等 |
+| detailInfo    | String(400)  | M    | 商品明细。<br>格式:[{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}],需Base64编码后上送。注意goods_name不要包含特殊符号,如 "#","&","+" 等 |
 | transTime     | String(14)   | M    | 交易时间,格式:"yyyyMMddHHmmss" |
-| merReserve    | String(1024) | O    | 商户预留内容,可传任意内容,如购买商品信息、员号等,但不要传特殊符号,如逗号等。 |
+| merReserve    | String(1024) | O    | 预留内容,商户自定义。注意不要包含特殊符号,如 "#","&","+" 等 |
 | signType      | String(10)   | M    | MD5或SHA256 |
 | signature     | String(32)   | M    | 采用 MD5或SHA256 签名 |
 

+ 3 - 3
AllPay_Integration_Specification_EN.md

@@ -73,10 +73,10 @@ This interface provides the function of purchase transaction for access merchant
 | merID         | String(15)   | M    | Merchant ID, assigned by GoAllPay |
 | acqID         | String(11)   | M    | "99020344"  |
 | paymentSchema | String(10)   | M    | Channel ID:[Click Here](paymentSchema.md) |
-| goodsInfo     | String(60)   | M    | Commodity information   |
-| detailInfo    | String(400)  | M    | Product details.<br>Format: [{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}], and required Base64 encoding before incoming. |
+| goodsInfo     | String(60)   | M    | Commodity information. Note: Don't include special symbols, such as "#", "&", "+", etc.   |
+| detailInfo    | String(400)  | M    | Product details.<br>Format: [{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}], and required Base64 encoding before incoming. Note: "goods_name" can't include special symbols, such as "#", "&", "+", etc. |
 | transTime     | String(14)   | M    | Transaction time. Format: "yyyyMMddHHmmss" |
-| merReserve    | String(1024) | O    | Merchant reserved content, can pass any content, such as purchase information, account number, etc., but do not pass special symbols, such as commas. |
+| merReserve    | String(1024) | O    | Reserved content, customized by the merchant. Note: Don't include special symbols, such as "#", "&", "+", etc. |
 | signType      | String(10)   | M    | "MD5" or "SHA256" |
 | signature     | String(32)   | M    | MD5 or SHA256 signature |
 

+ 0 - 3
payExclusive_CH.md

@@ -820,7 +820,6 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | 收银台URL |
 
-
 #### 13.2 WebSite支付
 
  **请求参数**
@@ -836,8 +835,6 @@ CVV2: 123
 | -------- | ------ | ---- | ------------------------------- |
 | payUrl | String | O    | 收银台URL |
 
-
-
 #### 13.3 二维码无跳转模式
 
  该模式返回生成二维码的字符串,商户需要自己生成二维码。

+ 37 - 5
payExclusive_EN.md

@@ -4,7 +4,7 @@
 
 #### 1.1 QR code no jump mode
 
- This mode returns 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.
+ This mode returns the QR code string, and merchants need to generate the QR code themselves.
 
  **Request parameters**
 
@@ -20,7 +20,7 @@
 
 #### 1.2 QR code jump mode
 
-It's jump mode, open the front-end page provided by GoAllPay, which contains WeChat QR code.
+This mode will redirect to the QR code page generated by GoAllPay.
 
  **Request parameters**
 
@@ -129,7 +129,7 @@ After getting tn, call the SDK to pay according to APP document.
 
 #### 2.4 QR code no jump mode
 
- This mode returns the URL value of Alipay 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.
+ This mode returns the QR code string, and merchants need to generate the QR code themselves.
 
  **Request parameters**
 
@@ -193,7 +193,7 @@ After getting tn, call the SDK to pay according to APP document.
 
 #### 3.3 QR code no jump mode
 
- This mode returns the URL value of UnionPay 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.
+ This mode returns the QR code string, and merchants need to generate the QR code themselves.
 
  **Request parameters**
 
@@ -817,4 +817,36 @@ CVV2: 123
 
 | Parameter | Type | Required | Description |
 | -------- | ------ | ---- | ------------------------------- |
-| payUrl | String | O    | Cashier URL |
+| payUrl | String | O    | Cashier URL |
+
+#### 13.2 WebSite mode
+
+ **Request parameters**
+
+| Parameter | Type | Required | Description |
+| --------- | ------ | ---- | ----- |
+| tradeFrom | String | M    | "WEB" |
+| sub_brand_code | String | M    | "gcash", "dana", "kakaopay", "alipay_hk", "truemoney", "tng" |
+
+**Response parameter "parameter" details**
+
+| Parameter | Type | Required | Description |
+| -------- | ------ | ---- | ------------------------------- |
+| payUrl | String | O    | Cashier URL |
+
+#### 13.3 QR code no jump mode
+
+ This mode returns the QR code string, and merchants need to generate the QR code themselves.
+
+ **Request parameters**
+
+| Parameter | Type | Required | Description |
+| --------- | ------ | ---- | -------- |
+| tradeFrom | String | M    | "QRCODE" |
+| sub_brand_code | String | M    | "gcash", "kakaopay", "alipay_hk", "tng" |
+
+**Response parameter "parameter" details**
+
+| Parameter | Type | Required | Description |
+| -------- | ------ | ---- | ------------------------------- |
+| code_url | String | O    | QR code string |