|
@@ -10,16 +10,14 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
|
|
|
#### 2.交易流程
|
|
|

|
|
|
|
|
|
-####
|
|
|
-
|
|
|
+#### 3.验签说明
|
|
|
|
|
|
-#### 3. 验签说明
|
|
|
```
|
|
|
1.对于发送到 ALLPAY 系统的 POST 请求报文,其中所有传入参数(除 signature 参数外)按照字段名的 ASCII 码从小到大排序后(字典序),使用 URL 键值对的格式(即 key1=value1&key2=value2...)拼接成字符串 String1。
|
|
|
|
|
|
-2.在 String1 最后直接拼接(不需要用“&”连接)双方约定的签名密钥 K1(接入时 ALLPAY 时分配),得到 stringSignTemp 字符串,并对 stringSignTemp 进行 md5 运算,得到 signature 的值。
|
|
|
+2.在 String1 最后直接拼接(不需要用“&”连接)双方约定的签名密钥 K1(接入 ALLPAY 时分配),得到 stringSignTemp 字符串,并对 stringSignTemp 进行 md5 运算,得到 signature 的值。
|
|
|
|
|
|
-3.示例签名串 acqID=99020344&backURL=https://www.baidu.com&charSet=UTF-8&frontURL=nil&goodsInfo=iPhone x&merID=800039253992510&merReserve=&orderAmount=1.00&orderCurrency=INR&orderNum=ap0180417163142&paymentSchema=EB&signType=MD5&transTime=20180417163142&transType=PURC&trxn_email_id=benson.zhang@allpayx.com&trxn_firstname=benson zhang&trxn_is_coupon_enabled=1&trxn_phone=15026528888&unique_id=abcde12345&version=VER000000002f3e0e436cd24430aa4aaaed597450f26
|
|
|
+3.示例签名串 acqID=99020344&backURL=https://www.allpayx.com&charSet=UTF-8&detailInfo=W3siZ29vZHNfbmFtZSI6IuiLueaenCIsInF1YW50aXR5IjoiMyJ9LHsiZ29vZHNfbmFtZSI6IuapmOWtkCIsInF1YW50aXR5IjoiNyJ9XQ==&frontURL=https://www.baidu.com&goodsInfo=apple&merID=000000000000015&merReserve=iPhone&orderAmount=0.01&orderCurrency=USD&orderNum=20190104022800&paymentSchema=AP&signType=MD5&transTime=20190104022800&transType=PURC&version=VER0000000022f2c77e3718c47cfb47a89a6fbc9d361
|
|
|
```
|
|
|
|
|
|
#### 4.通用API说明
|
|
@@ -30,7 +28,7 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
|
|
|
|
|
|
| 接口名称 | 测试地址 | 生产地址 |
|
|
|
| ------------ | ----------------------------------------- | ------------------------------------- |
|
|
|
-| 消费接口 | <https://testapi.allpayx.com/pay> | <https://api.allpayx.com/pay> |
|
|
|
+| 消费接口 | <https://testapi.allpayx.com/pay> | <https://api.allpayx.com/pay> |
|
|
|
| 交易查询接口 | <https://testapi.allpayx.com/pay> | <https://api.allpayx.com/pay> |
|
|
|
| 退款接口 | <https://testapi.allpayx.com/refund> | <https://api.allpayx.com/refund> |
|
|
|
| 退款查询接口 | <https://testapi.allpayx.com/refundquery> | <https://api.allpayx.com/refundquery> |
|
|
@@ -41,7 +39,6 @@ AllPay 为客户提供统一的api接入,以帮助客户实现快速、安全
|
|
|
|
|
|
1.请求报文格式
|
|
|
|
|
|
-
|
|
|
下面列举的字段为通用字段,每个渠道都需要上送,部分渠道有渠道专属字段,具体字段请到该渠道的专属渠道字段说明处查看。消费接口分为跳转型和参数返回型,默认为跳转型,参数返回型会在第5章(渠道专属配置)里面说明。
|
|
|
|
|
|
| 参数 | 类型 | 属性 | 描述 |
|
|
@@ -528,7 +525,7 @@ Note: SingPost (Singapore) is only available for currency SGD and country code S
|
|
|
The account holder name passed in the request has to be in the format <firstname><space><lastname>, with
|
|
|
lastname having a minimum length of two characters and the total string a minimum length of five. Multiple
|
|
|
first names are ok, valid examples are “John Dorian”, “William Charles Dickinson”. If these conditions are not
|
|
|
-met, the system will not accept the request
|
|
|
+met, the system will not accept the request.
|
|
|
```
|
|
|
|
|
|
###### 5.4.24 PPRO_SB
|