Ver código fonte

修改transTime时间格式

tao.zhou 5 anos atrás
pai
commit
6e44e58e38
1 arquivos alterados com 16 adições e 16 exclusões
  1. 16 16
      AllPay_Integration_Specification_EN.md

+ 16 - 16
AllPay_Integration_Specification_EN.md

@@ -48,11 +48,11 @@ This field is a list of common fields, sending, every channel needs some channel
 | frontURL      | String(400)  | M    | When the payment is complete, jump to the address               |
 | backURL       | String(400)  | M    | Payment results are asynchronously notified to this address                                     |
 | merID         | String(15)   | M    | Merchant ID, assigned by AllPay                                       |
-| acqID         | String(11)   | M    | "99020344" "99020344"                                         |
+| acqID         | String(11)   | M    | "99020344"                                         |
 | paymentSchema | String(10)   | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | goodsInfo     | String(60)   | M    | Commodity information, displayed on the payment page                                    |
 | detailInfo    | String(400)  | M    | Product details format: [{"goods_name":"iPhone X","quantity":"2"},{"goods_name":"iPhone 8","quantity":"4"}], which requires base-64 encoding of this field before signing and sending. |
-| transTime     | String(14)   | M    | Transaction time, format :" yyymmddhhmmss"                               |
+| 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. |
 | signType      | String(10)   | M    | "MD5" or "SHA256"                                                   |
 | signature     | String(32)   | M    | MD5 or SHA256 signature                                         |
@@ -74,13 +74,13 @@ Parameters as follows:
 | orderAmount   | String(12)   | M    | Order amount: if 100 yuan, it will be 100 or 100.00                    |
 | orderCurrency | String(3)    | M    | Currency of the order: ISO standard, such as RMB filling in "CNY", us dollar filling in "USD"        |
 | merID         | String(15)   | M    | Merchant ID, assigned by AllPay                                      |
-| acqID         | String(11)   | M    | "99020344" "99020344"                                         |
+| acqID         | String(11)   | M    | "99020344"                                 |
 | paymentSchema | String(10)   | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode      | String(2)    | M    | 00 stands for success; 01 stands for fail.                                               |
 | RespMsg       | String(20)   | M    | Response message, all English characters                                                     |
 | transID       | String(32)   | M    | The unique transaction id generated by the gateway.                       |
-| GWTime        | String(14)   | M    | YYYYMMDDHHMMSS this should be a GWtime, currently is local transaction time.                                   |
-| transTime     | String(14)   | M    | Transaction time, format :" yyymmddhhmmss"                             |
+| GWTime        | String(14)   | M    | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time.                                   |
+| 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. |
 | signType      | String(10)   | M    | "MD5" or "SHA256"                                                  |
 | signature     | String(32)   | M    | MD5 or SHA256 signature                                        |
@@ -93,7 +93,7 @@ Parameters as follows:
 
 2.Request message format 
 
-| Parameter          | Type       | Required | Description                                                         |
+| Parameter          | Type       | Required | Description                                        |
 | ------------- | ---------- | ---- | ------------------------------------------------------------ |
 | version       | String(12) | M    | "VER000000005"                                     |
 | charSet       | String(6)  | M    | "UTF-8"                                            |
@@ -102,13 +102,13 @@ Parameters as follows:
 | merID         | String(15) | M    | Merchant ID, assigned by AllPay                                       |
 | acqID         | String(11) | M    | "99020344"                                         |
 | paymentSchema | String(10) | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
-| transTime     | String(14) | M    | Transaction time, format :" yyymmddhhmmss"                               |
+| transTime     | String(14) | M    | Transaction time, format :" yyyyMMddHHmmss"                               |
 | signType      | String(10) | M    | "MD5" or "SHA256"                                                          |
 | signature     | String(32) | M    | MD5 or SHA256 signature                                                |
 
 3.Response message format
 
-| Parameter          | Type       | Required | Description                                                         |
+| Parameter          | Type       | Required | Description                                         |
 | ------------- | ---------- | ---- | ------------------------------------------------------------ |
 | version       | String(12) | M    | "VER000000005"                                     |
 | charSet       | String(6)  | M    | "UTF-8"                                            |
@@ -120,8 +120,8 @@ Parameters as follows:
 | paymentSchema | String(10) | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode      | String(2)  | M    | 00 stands for success; 01 stands for fail.                                               |
 | RespMsg       | String(20) | M    | Response message, all English characters                                                     |
-| transTime     | String(14) | M    | Transaction time, format :" yyymmddhhmmss"                             |
-| GWTime        | String(14) | M    | YYYYMMDDHHMMSS this should be a GWtime, currently is local transaction time               |
+| transTime     | String(14) | M    | Transaction time, format :" yyyyMMddHHmmss"                             |
+| GWTime        | String(14) | M    | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time               |
 | signType      | String(3)  | M    | "MD5" or "SHA256"                                                  |
 | signature     | String(32) | M    | MD5 or SHA256 signature                                        |
 
@@ -145,7 +145,7 @@ This interface provides the function of refund transaction for access merchants.
 | merID         | String(15) | M    | Merchant ID, assigned by AllPay                                       |
 | paymentSchema | String(10) | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | acqID         | String(11) | M    | "99020344"                                         |
-| transTime     | String(14) | M    | Transaction time, format :" yyymmddhhmmss"                             |
+| transTime     | String(14) | M    | Transaction time, format :" yyyyMMddHHmmss"                             |
 | signType      | String(3)  | M    | "MD5" or "SHA256"                                                  |
 | signature     | String(32) | M    | MD5 or SHA256 signature                                        |
 
@@ -163,8 +163,8 @@ This interface provides the function of refund transaction for access merchants.
 | paymentSchema | String(10) | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode  | String(2)  | M    | 00 stands for success; 01 stands for fail.                                 |
 | RespMsg   | String(20) | M    | Response message, all English characters                       |
-| transTime | String(14) | M    | Transaction time, format :" yyymmddhhmmss"                 |
-| GWTime    | String(14) | M    | YYYYMMDDHHMMSS this should be a GWtime, currently is local transaction time |
+| transTime | String(14) | M    | Transaction time, format :" yyyyMMddHHmmss"                 |
+| GWTime    | String(14) | M    | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time |
 | signType  | String(10) | M    | "MD5" or "SHA256"                                  |
 | signature | String(32) | M    | MD5 or SHA256 signature                          |
 
@@ -185,7 +185,7 @@ This interface provides the function of refund transaction for access merchants.
 | merID         | String(15) | M    | Merchant ID, assigned by AllPay                                       |
 | acqID         | String(11) | M    | "99020344"                                         |
 | paymentSchema | String(10) | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
-| transTime     | String(14) | M    | Transaction time, format :" yyymmddhhmmss"                               |
+| transTime     | String(14) | M    | Transaction time, format :" yyyyMMddHHmmss"                               |
 | signType      | String(10) | M    | "MD5" or "SHA256"                                                           |
 | signature     | String(32) | M    | MD5 or SHA256 signature                                                |
 
@@ -203,8 +203,8 @@ This interface provides the function of refund transaction for access merchants.
 | paymentSchema | String(10) | M    | Channel code:[Click Here](https://git.allpayx.com/OpenAPI/common/src/master/paymentSchema.md) |
 | RespCode      | String(2)  | M    | 00 stands for success; 01 stands for fail.                                              |
 | RespMsg       | String(20) | M    | Response message, all English characters                                                     |
-| transTime     | String(14) | M    | Transaction time, format :" yyymmddhhmmss"                             |
-| GWTime        | String(14) | M    | YYYYMMDDHHMMSS this should be a GWtime, currently is local transaction time               |
+| transTime     | String(14) | M    | Transaction time, format :" yyyyMMddHHmmss"                             |
+| GWTime        | String(14) | M    | yyyyMMddHHmmss this should be a GWtime, currently is local transaction time               |
 | signType      | String(10) | M    | "MD5" or "SHA256"                                                  |
 | signature     | String(32) | M    | MD5 or SHA256 signature                                        |