master
taylor.dang 5 years ago
parent b2c6383146
commit dde64031d4

@ -703,8 +703,10 @@
* @apiVersion 1.0.0 * @apiVersion 1.0.0
* @apiDescription * @apiDescription
* 若订单创建时提供了notify_url系统会在用户支付成功后向这个地址主动发送支付成功状态推送请求方式为POST * 若订单创建时提供了notify_url系统会在用户支付成功后向这个地址主动发送支付成功状态推送请求方式为POST
* 与服务器API不同推送校验参数会包含在json内商户系统应该验证校验参数确定来源正确后再进行后续操作 * 与服务器API不同推送校验参数会包含在json内商户系统应该验证校验参数确定来源正确后再次进行订单接口查询确认订单支付状态再进行后续操作
* 商户系统收到请求后应按要求返回参数若RoyalPay未收到合法参数视为商户未接收成功推送动作最多会重试3次商户系统应当能够处理收到的重复请求 * 商户系统收到请求后应按要求返回参数若RoyalPay未收到合法参数视为商户未接收成功推送动作最多会重试3次商户系统应当能够处理收到的重复请求
*
* 建议在收到推送后主动调用查询接口确认支付状态避免其他第三方伪造推送!!!
* @apiHeader Accept application/json * @apiHeader Accept application/json
* @apiHeader Content-Type application/json * @apiHeader Content-Type application/json
* @apiParam (JSON) {long} time UTC时间戳 * @apiParam (JSON) {long} time UTC时间戳

@ -714,6 +714,8 @@
* Different from Server APIs, sign parameters will be included in json entity. Partner system shall valid them to prevent fake requests. * Different from Server APIs, sign parameters will be included in json entity. Partner system shall valid them to prevent fake requests.
* Partner system shall response with correct parameters. If RoyalPay did not receive valid response, system will regard as receiving failed and retry the notification. * Partner system shall response with correct parameters. If RoyalPay did not receive valid response, system will regard as receiving failed and retry the notification.
* System will retry up to3 times. Partner system shall be able to handle the repeated requests. * System will retry up to3 times. Partner system shall be able to handle the repeated requests.
*
* It is recommended to actively call the query API to confirm the payment status after receiving the push, so as to prevent other third parties from forging the push!
* @apiHeader Accept application/json * @apiHeader Accept application/json
* @apiHeader Content-Type application/json * @apiHeader Content-Type application/json
* @apiParam (JSON) {long} time UTC timestamp in millis * @apiParam (JSON) {long} time UTC timestamp in millis

Loading…
Cancel
Save