微信支付失败

微信支付 文章 2020-08-20 11:01 821 0 全屏看文

AI助手支持GPT4.0

微信支付失败WeChat payment failed

微信支付失败

1)你签名中的key,也就是你的API密钥key,这个参数要你们自己到商户平台设置的,设置的规则是32位数字与字母大小写的组合的随机数,不能设置成签名串和参数appsecrete,你们有正确设置吗???

2)检查开放平台对应的包名与签名是否有正确设置。

3)调用支付使用的noncestr这个参数必须和商家服务器调用统一下单接口返回的那个noncestr一致

4)从预支付订单返回的数据 ,没有重新签名,也会引起这个问题。

5)重新安装微信后试试

以上全部检查过,打腾讯客服电话3天3夜没人接,一直等待,希望腾讯看见后能修改一下,非常感谢,现在只想联系到腾讯客服人员查一下咋回事提供一下技术支持!

1) The key in your signature, that is, your API key key, should be set by yourself on the merchant platform. The rule of setting is a random number with a combination of 32-bit numbers and upper and lower case letters. It cannot be set as a signature string and parameter appsecret. Have you set it correctly??? 2) Check whether the package name and signature corresponding to the open platform are set correctly. 3) The noncestr parameter used for calling payment must be consistent with that returned by the merchant server calling the unified order interface. 4) the data returned from the pre payment order without re signing will also cause this problem. 5) After re installing wechat, try all the above checks. I have called Tencent customer service for three days and three nights. No one answered. I hope Tencent can modify it after seeing it. Thank you very much. Now I just want to contact Tencent customer service personnel to check what's going on and provide technical support!

回答:

支付技术助手8:

一,(检查签名)

请按照以下几点进行排查:

1、使用签名检查工具(https://pay.weixin.qq.com/wiki/doc/api/micropay.php?chapter=20_1)校验签名算法是否有误

2、确认秘钥是否有误(服务商模式使用服务商商户号秘钥,秘钥是在商户平台配置,如果同一商户号调用其它接口成功可排除是秘钥问题)

3、确认接口实际的请求参数与生成签名原串的参数一致,不能增加或缺少参数(可通过打印签名原串进行排查)

4、确认参数的大小写,参数名与接口文档一致

5、签名原串的参数值使用原始值,不需要encode

6、接口需要使用UTF-8编码

二,未注册APPID、项目设置APPID不正确、注册的APPID与设置的不匹配、其他异常等(麻烦核实检查。)

三,检查开放平台对应的包名与签名是否有正确设置。

https://pay.weixin.qq.com/wiki/doc/api/app/app.php?chapter=8_5 这里有详细的设置说明。


soul:44
德玛:

个人感觉大部分的出错可能是参数错误,如果1、2、3没错,可以再检查一下重新签名。

-EOF-

AI助手支持GPT4.0