ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
<p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="color: rgb(0, 112, 192);"><strong><span style="box-sizing: inherit; font-size: 29px; font-family: 隶书, SimLi;">异步通知数据&nbsp;</span></strong></span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; color: red; font-size: 19px; font-family: 隶书, SimLi;">处理完数据后一定要 输出success字符串,这样平台才会认为异步通知成功了</span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; color: rgb(217, 83, 142); font-family: 隶书, SimLi;">系统将订单交易结果异步发送给渠道系统 异步地址由技术人员配置 只有成功的订单才有异步通知 ,其他 ,状态请根据订单查询接口轮询结果</span> </p> <table width="776"> <tbody style="box-sizing: inherit"> <tr style="box-sizing: inherit;height: 34px" class="firstRow"> <td width="26" style="box-sizing: inherit;border-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="color: rgb(0, 112, 192);"><strong><span style="color: rgb(0, 112, 192); box-sizing: inherit; font-weight: bolder; font-family: 隶书, SimLi;">变量名</span></strong></span> </p> </td> <td width="11" style="box-sizing: inherit;border-top-color: black;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="color: rgb(0, 112, 192);"><strong><span style="color: rgb(0, 112, 192); box-sizing: inherit; font-weight: bolder; font-family: 隶书, SimLi;">是否为空</span></strong></span> </p> </td> <td width="61" style="box-sizing: inherit;border-top-color: black;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="color: rgb(0, 112, 192);"><strong><span style="color: rgb(0, 112, 192); box-sizing: inherit; font-weight: bolder; font-family: 隶书, SimLi;">说明</span></strong></span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 46px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">appid</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="font-family: 隶书, SimLi;"><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">商户号终端</span><span style="box-sizing: inherit; font-family: Cambria, serif;">APPID</span></span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">method</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="font-family: 隶书, SimLi;"><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">接口支付类型参考各接口</span><span style="box-sizing: inherit; font-family: Cambria, serif;">method</span></span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">status</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="font-family: 隶书, SimLi;"><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">支付状态</span><span style="box-sizing: inherit; font-family: Cambria, serif;">&nbsp;0</span><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">未支付</span><span style="box-sizing: inherit; font-family: Cambria, serif;">/</span><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">待支付</span><span style="box-sizing: inherit; font-family: Cambria, serif;">&nbsp;1</span><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">支付成功</span><span style="box-sizing: inherit; font-family: Cambria, serif;">&nbsp;2</span><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">退款成功</span></span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">out_trade_no</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">平台订单号</span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">u_out_trade_no</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">商户订单号</span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">transaction_id</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">官方订单号成功状态订单不为空</span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">total_fee</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="font-family: 隶书, SimLi;"><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">交易金额单位</span><span style="box-sizing: inherit; font-family: Cambria, serif;">:</span><span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">分</span></span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">create_time</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">订单创建时间</span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">nonce_str</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">随机字符串</span> </p> </td> </tr> <tr style="box-sizing: inherit;height: 43px"> <td width="26" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left-color: black;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">sign</span> </p> </td> <td width="11" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px;text-align: center"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">否</span> </p> </td> <td width="61" style="box-sizing: inherit;border-top: none;border-right-color: black;border-bottom-color: black;border-left: none;padding: 0px 7px"> <p style="box-sizing: inherit;line-height: 20px"> <span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif;">数据签名参考数据签名规则</span> </p> </td> </tr> </tbody> </table> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="font-size: 19px; box-sizing: inherit; font-weight: bolder; font-family: 隶书, SimLi;">&nbsp;</span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="color: rgb(0, 112, 192);"><strong><span style="font-size: 19px; box-sizing: inherit; font-weight: bolder; font-family: 隶书, SimLi;">说明</span></strong></span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 隶书, SimLi; color: rgb(255, 0, 0);">异步通知地址,由商户进入后台“接口信息”内进行配置,每套Appid只能配置一条异步通知地址,可修改 支付成功的订单,会返回异步通知结果,异步通知有可能由于外部因素造成延迟,所以对实时要求高的场 景请调用查询接口查询,建议异步通知与查询接口配合使用。由于安全原因,异步通知仅支持80(http)和 443(https)端口,不支持自定义指定端口。</span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">&nbsp;</span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="color: rgb(0, 112, 192);"><strong><span style="font-size: 21px; box-sizing: inherit; font-weight: bolder; font-family: 隶书, SimLi;">异步数据验签:</span></strong></span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 隶书, SimLi; color: rgb(255, 0, 0);">除了sign其余所有字段参与签名即可</span> </p> <p style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 隶书, SimLi;">&nbsp;</span><strong style="color: rgb(0, 112, 192);"><span style="font-size: 19px; box-sizing: inherit; font-weight: bolder; font-family: 隶书, SimLi;">异步通知发送规则:</span></strong> </p> <p class="MsoListParagraph" style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;margin-left: 24px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif; color: rgb(255, 0, 0);">①<span style="box-sizing: inherit; font-variant-numeric: normal; font-stretch: normal; font-size: 9px; line-height: normal; font-family: &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;</span>异步通知的地址提供给技术支持,在后台系统设定好。</span> </p> <p class="MsoListParagraph" style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;margin-left: 24px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif; color: rgb(255, 0, 0);">②<span style="color: rgb(255, 0, 0); box-sizing: inherit; font-variant-numeric: normal; font-stretch: normal; font-size: 9px; line-height: normal; font-family: &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;</span>交易成功后,系统会以json格式POST到设定好的异步通知地址上。</span> </p> <p class="MsoListParagraph" style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;margin-left: 24px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif; color: rgb(255, 0, 0);">③<span style="color: rgb(255, 0, 0); box-sizing: inherit; font-variant-numeric: normal; font-stretch: normal; font-size: 9px; line-height: normal; font-family: &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;</span>开发者,收到异步通知后,验证签名通过后,需要给系统返回SUCCESS(不区分大小写)字符串,表示已 处理异步通知数据</span> </p> <p class="MsoListParagraph" style="box-sizing: inherit;line-height: 2;margin-top: 0px;margin-bottom: 0px;margin-left: 24px;padding: 0px;color: rgb(82, 82, 82);font-family: &#39;Helvetica Neue&#39;, NotoSansHans-Regular, AvenirNext-Regular, arial, &#39;Hiragino Sans GB&#39;, &#39;Microsoft Yahei&#39;, &#39;WenQuanYi Micro Hei&#39;, serif;font-size: 15px;white-space: normal;background-color: rgb(252, 252, 252)"> <span style="box-sizing: inherit; font-family: 微软雅黑, sans-serif; color: rgb(255, 0, 0);">④<span style="color: rgb(255, 0, 0); box-sizing: inherit; font-variant-numeric: normal; font-stretch: normal; font-size: 9px; line-height: normal; font-family: &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp;&nbsp;</span>若开发者给系统返回其他的数据,或者没有任何返回,那么我方会以一定的策略再次发送异步通知,时 间间隔是1m、5m、10m、60m、2h、6h、15h,期间任何一次收到SUCCESS,都将不继续后续的通 知。</span> </p> <p> <br/> </p>