请求单次分账 一直返回SYSTEMERROR?

小游戏 企业微信 微信支付 小程序 文章 2020-07-30 21:17 691 0 全屏看文

AI助手支持GPT4.0

请求单次分账 一直返回SYSTEMERROR?

一:使用 HMAC-SHA256加密一直返回SIGN_ERROR错误,并且有在微信支付接口签名校验工具 中校验通过

二:签名使用的MD5加密一直返回SYSTEMERROR 错误,请帮忙查看具体是什么原因,返回xml如下

<xml>

  <return_code><![CDATA[SUCCESS]]><eturn_code>

  <result_code><![CDATA[FAIL]]><esult_code>

  <err_code><![CDATA[SYSTEMERROR]]></err_code>

  <mch_id><![CDATA[150xxxxxx]]></mch_id>

  <appid><![CDATA[wx8axxxxxx]]></appid>

  <nonce_str><![CDATA[997aabf9da598335]]><once_str>

  <sign><![CDATA[30B0D6C125889F2A8837C6F90E2314FAC460DA03D7E50689DB37AC05C1332F61]]></sign>

</xml>

1: Using hmac-sha256 encryption always returns sign_ Error error, and it was verified in the wechat payment interface signature verification tool. 2: the MD5 encryption used for signature always returns systemerror error. Please help to see the specific reason. The returned XML is as follows < XML > < return_ code>

回答:

支付技术助手8:

请按照以下几点检查:


1、签名类型错误,分账接口签名类型目前只支持HMAC-SHA256


2、普通商户的分账订单,请使用普通商户分账接口,不能使用服务商分账接口


3、系统超时,请使用原参数尝试再次掉调用API

https://pay.weixin.qq.com/wiki/doc/api/allocation.php?chapter=26_1普通直连分账

https://pay.weixin.qq.com/wiki/doc/api/allocation_sl.php?chapter=24_1&index=1服务商分账

https://developers.weixin.qq.com/community/pay/doc/000284823e8460aada68dacca5b008?blockType=8%3FblockType%3D8%3FblockType%3D8

-EOF-

AI助手支持GPT4.0